8230552: Provide information when hitting a HaltNode for architectures other than x86

Reviewed-by: mdoerr
This commit is contained in:
Xin Liu 2020-06-01 08:52:01 -04:00
parent 5a57b9f8ec
commit 0ec39a0b70
3 changed files with 3 additions and 3 deletions

View File

@ -8963,7 +8963,7 @@ instruct ShouldNotReachHere( )
format %{ "ShouldNotReachHere" %} format %{ "ShouldNotReachHere" %}
ins_encode %{ ins_encode %{
if (is_reachable()) { if (is_reachable()) {
__ udf(0xdead); __ stop(_halt_reason);
} }
%} %}
ins_pipe(tail_call); ins_pipe(tail_call);

View File

@ -15196,7 +15196,7 @@ instruct ShouldNotReachHere() %{
ins_encode %{ ins_encode %{
if (is_reachable()) { if (is_reachable()) {
// TODO: PPC port $archOpcode(ppc64Opcode_tdi); // TODO: PPC port $archOpcode(ppc64Opcode_tdi);
__ should_not_reach_here(); __ stop(_halt_reason);
} }
%} %}
ins_pipe(pipe_class_default); ins_pipe(pipe_class_default);

View File

@ -9889,7 +9889,7 @@ instruct ShouldNotReachHere() %{
format %{ "ILLTRAP; ShouldNotReachHere" %} format %{ "ILLTRAP; ShouldNotReachHere" %}
ins_encode %{ ins_encode %{
if (is_reachable()) { if (is_reachable()) {
__ z_illtrap(); __ stop(_halt_reason);
} }
%} %}
ins_pipe(pipe_class_dummy); ins_pipe(pipe_class_dummy);