src/hotspot/share/opto/callGenerator.cpp
changeset 53594 47a8fdf84424
parent 53510 790377fdc328
child 53595 8462b295c08b
--- a/src/hotspot/share/opto/callGenerator.cpp	Thu Jan 31 13:36:31 2019 -0800
+++ b/src/hotspot/share/opto/callGenerator.cpp	Thu Jan 31 17:48:25 2019 -0800
@@ -459,7 +459,7 @@
   C->set_has_loops(C->has_loops() || _inline_cg->method()->has_loops());
   C->env()->notice_inlined_method(_inline_cg->method());
   C->set_inlining_progress(true);
-
+  C->set_do_cleanup(kit.stopped()); // path is dead; needs cleanup
   kit.replace_call(call, result, true);
 }