--- a/src/hotspot/share/adlc/output_c.cpp Tue Sep 10 07:42:04 2019 +0200
+++ b/src/hotspot/share/adlc/output_c.cpp Tue Sep 10 08:43:33 2019 +0200
@@ -3937,6 +3937,9 @@
fprintf(fp_cpp, "%s node->_prob = _leaf->as_If()->_prob;\n", indent);
fprintf(fp_cpp, "%s node->_fcnt = _leaf->as_If()->_fcnt;\n", indent);
}
+ if (inst->is_ideal_halt()) {
+ fprintf(fp_cpp, "%s node->_halt_reason = _leaf->as_Halt()->_halt_reason;\n", indent);
+ }
if (inst->is_ideal_jump()) {
fprintf(fp_cpp, "%s node->_probs = _leaf->as_Jump()->_probs;\n", indent);
}