Mercurial > hg > truffle
changeset 5818:ade4014aa895
in tryCanonicalize return node.isDeleted() in the default path to be sure to catch node deletion in simplify and clean unused inputs
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Wed, 11 Jul 2012 15:38:28 +0200 |
parents | 74eb5feba8dc |
children | 8fd81d0e3acf 0cd337450409 |
files | graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/CanonicalizerPhase.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/CanonicalizerPhase.java Wed Jul 11 15:28:28 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/phases/CanonicalizerPhase.java Wed Jul 11 15:38:28 2012 +0200 @@ -243,7 +243,7 @@ METRIC_SIMPLIFICATION_CONSIDERED_NODES.increment(); ((Simplifiable) node).simplify(tool); } - return false; + return node.isDeleted(); } /**