< prev index next >

src/cpu/x86/vm/macroAssembler_x86.cpp

Print this page
rev 12700 : 8176506: C2: loop unswitching and unsafe accesses cause crash
Reviewed-by:

@@ -11204,5 +11204,13 @@
     pop(rax);
   }
 }
 
 #endif
+
+static void halt() {
+  ShouldNotReachHere();
+}
+
+void MacroAssembler::halt() {
+  call(RuntimeAddress(CAST_FROM_FN_PTR(address, ::halt)));
+}
< prev index next >