src/hotspot/share/adlc/output_c.cpp
changeset 58061 fafba5cf3546
parent 55743 fb2b47f0e067
child 58679 9c3209ff7550
child 59278 8375560db76b
--- 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);
   }