src/hotspot/cpu/x86/x86.ad
changeset 58061 fafba5cf3546
parent 57804 9b7b9f16dfd9
child 58421 6fc57e391539
--- a/src/hotspot/cpu/x86/x86.ad	Tue Sep 10 07:42:04 2019 +0200
+++ b/src/hotspot/cpu/x86/x86.ad	Tue Sep 10 08:43:33 2019 +0200
@@ -2097,7 +2097,7 @@
   match(Halt);
   format %{ "ud2\t# ShouldNotReachHere" %}
   ins_encode %{
-    __ ud2();
+    __ stop(_halt_reason);
   %}
   ins_pipe(pipe_slow);
 %}