src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
changeset 51756 4bd35a5ec694
parent 51350 57565f7dcb2a
child 51996 84743156e780
--- a/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp	Fri Sep 14 20:30:28 2018 -0700
+++ b/src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp	Fri Sep 14 22:35:44 2018 -0700
@@ -3492,8 +3492,13 @@
   // No exception case
   __ bind(noException);
 
-  Label no_adjust, bail, no_prefix, not_special;
+  Label no_adjust;
+#ifdef ASSERT
+  Label bail;
+#endif
   if (SafepointMechanism::uses_thread_local_poll() && !cause_return) {
+    Label no_prefix, not_special;
+
     // If our stashed return pc was modified by the runtime we avoid touching it
     __ cmpptr(rbx, Address(rbp, wordSize));
     __ jccb(Assembler::notEqual, no_adjust);