hotspot/src/share/vm/opto/multnode.hpp
changeset 373 427fb4ca6a1e
parent 1 489c9b5090e2
child 670 ddf3e9583f2f
--- a/hotspot/src/share/vm/opto/multnode.hpp	Wed Apr 23 13:57:14 2008 -0700
+++ b/hotspot/src/share/vm/opto/multnode.hpp	Wed Apr 23 19:09:16 2008 -0700
@@ -61,6 +61,9 @@
     : Node( src ), _con(con), _is_io_use(io_use)
   {
     init_class_id(Class_Proj);
+    // Optimistic setting. Need additional checks in Node::is_dead_loop_safe().
+    if (con != TypeFunc::Memory || src->is_Start())
+      init_flags(Flag_is_dead_loop_safe);
     debug_only(check_con());
   }
   const uint _con;              // The field in the tuple we are projecting