changeset 9149:5182412b5b80

Fix JVMTI PopFrame: should skip runtime call if next bytecode is not invokestatic Contributed-by: akozlov@azul.com
author snazarki
date Thu, 11 Jul 2019 17:46:27 +0300
parents 4cf4c36b9d3e
children 222d69cd2f71
files src/cpu/aarch32/vm/templateInterpreter_aarch32.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch32/vm/templateInterpreter_aarch32.cpp	Thu Jul 11 17:45:47 2019 +0300
+++ b/src/cpu/aarch32/vm/templateInterpreter_aarch32.cpp	Thu Jul 11 17:46:27 2019 +0300
@@ -1874,7 +1874,7 @@
     Label L_done;
     __ ldrb(rscratch1, Address(rbcp, 0));
     __ cmp(rscratch1, Bytecodes::_invokestatic);
-    __ b(L_done, Assembler::EQ);
+    __ b(L_done, Assembler::NE);
 
     // The member name argument must be restored if _invokestatic is re-executed after a PopFrame call.
     // Detect such a case in the InterpreterRuntime function and return the member name argument, or NULL.