# HG changeset patch # User Lukas Stadler # Date 1347609818 -7200 # Node ID b30dde62f44c2099abee4598370ad4fbfb1a23e1 # Parent 2ba1f4cdecd0cb8f478b0d32458d07d17e0963c6 small fix to partial escape analysis diff -r 2ba1f4cdecd0 -r b30dde62f44c graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/ea/PartialEscapeAnalysisPhase.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/ea/PartialEscapeAnalysisPhase.java Thu Sep 13 18:17:05 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/ea/PartialEscapeAnalysisPhase.java Fri Sep 14 10:03:38 2012 +0200 @@ -713,6 +713,7 @@ graph.replaceFixedWithFloating(x, ConstantNode.forInt(((ArrayEscapeRecord) obj.record).length, graph)); metricOtherRemoved.increment(); } + changed = true; usageFound = true; } else if (node instanceof ReadHubNode) { ReadHubNode x = (ReadHubNode) node; @@ -723,6 +724,7 @@ graph.replaceFixedWithFloating(x, hub); metricOtherRemoved.increment(); } + changed = true; usageFound = true; } else if (node instanceof ReturnNode) { ReturnNode x = (ReturnNode) node;