changeset 17114:8ca5e41dde86

DeadCodeElimination is not optional for OnStackReplacementPhase
author Doug Simon <doug.simon@oracle.com>
date Tue, 16 Sep 2014 22:00:52 +0200
parents 583bf03b3e1a
children 4a1ee9bebd33 5a260e749bca
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java	Tue Sep 16 22:00:22 2014 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/phases/OnStackReplacementPhase.java	Tue Sep 16 22:00:52 2014 +0200
@@ -111,6 +111,6 @@
         GraphUtil.killCFG(start);
 
         Debug.dump(graph, "OnStackReplacement result");
-        new DeadCodeEliminationPhase(Optional).apply(graph);
+        new DeadCodeEliminationPhase(Required).apply(graph);
     }
 }