src/hotspot/cpu/arm/runtime_arm.cpp
changeset 52351 0ecb4e520110
parent 49449 ef5d5d343e2a
--- a/src/hotspot/cpu/arm/runtime_arm.cpp	Mon Oct 29 11:31:25 2018 -0700
+++ b/src/hotspot/cpu/arm/runtime_arm.cpp	Tue Oct 30 10:39:19 2018 -0400
@@ -126,15 +126,8 @@
 
   // Restore SP from its saved reg (FP) if the exception PC is a MethodHandle call site.
   __ ldr(Rtemp, Address(Rthread, JavaThread::is_method_handle_return_offset()));
-#ifdef AARCH64
-  Label skip;
-  __ cbz(Rtemp, skip);
-  __ mov(SP, Rmh_SP_save);
-  __ bind(skip);
-#else
   __ cmp(Rtemp, 0);
   __ mov(SP, Rmh_SP_save, ne);
-#endif
 
   // R0 contains handler address
   // Since this may be the deopt blob we must set R5 to look like we returned