mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 17:39:40 +01:00
8230552: Provide information when hitting a HaltNode for architectures other than x86
Reviewed-by: mdoerr
This commit is contained in:
@@ -8963,7 +8963,7 @@ instruct ShouldNotReachHere( )
|
||||
format %{ "ShouldNotReachHere" %}
|
||||
ins_encode %{
|
||||
if (is_reachable()) {
|
||||
__ udf(0xdead);
|
||||
__ stop(_halt_reason);
|
||||
}
|
||||
%}
|
||||
ins_pipe(tail_call);
|
||||
|
||||
@@ -15196,7 +15196,7 @@ instruct ShouldNotReachHere() %{
|
||||
ins_encode %{
|
||||
if (is_reachable()) {
|
||||
// TODO: PPC port $archOpcode(ppc64Opcode_tdi);
|
||||
__ should_not_reach_here();
|
||||
__ stop(_halt_reason);
|
||||
}
|
||||
%}
|
||||
ins_pipe(pipe_class_default);
|
||||
|
||||
@@ -9889,7 +9889,7 @@ instruct ShouldNotReachHere() %{
|
||||
format %{ "ILLTRAP; ShouldNotReachHere" %}
|
||||
ins_encode %{
|
||||
if (is_reachable()) {
|
||||
__ z_illtrap();
|
||||
__ stop(_halt_reason);
|
||||
}
|
||||
%}
|
||||
ins_pipe(pipe_class_dummy);
|
||||
|
||||
Reference in New Issue
Block a user