diff src/cpu/x86/vm/templateInterpreter_x86_64.cpp @ 13220:2b43fcc68add

Put _pending_deoptimization and _pending_monitorenter under ifdef GRAAL
author Gilles Duboscq <duboscq@ssw.jku.at>
date Mon, 02 Dec 2013 18:06:00 +0100
parents 096c224171c4
children 4062efea018b
line wrap: on
line diff
--- a/src/cpu/x86/vm/templateInterpreter_x86_64.cpp	Mon Dec 02 18:02:04 2013 +0100
+++ b/src/cpu/x86/vm/templateInterpreter_x86_64.cpp	Mon Dec 02 18:06:00 2013 +0100
@@ -207,6 +207,7 @@
   __ movptr(Address(rbp, frame::interpreter_frame_last_sp_offset * wordSize), (int32_t)NULL_WORD);
   __ restore_bcp();
   __ restore_locals();
+#ifdef GRAAL
   // Check if we need to take lock at entry of synchronized method.
   {
     Label L;
@@ -220,6 +221,7 @@
     lock_method();
     __ bind(L);
   }
+#endif
   // handle exceptions
   {
     Label L;