Mercurial > hg > truffle
diff graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java @ 16601:cd25e42d9b22
rename IntegerBelowThanNode to IntegerBelowNode
author | Lukas Stadler <lukas.stadler@oracle.com> |
---|---|
date | Mon, 28 Jul 2014 15:53:07 +0200 |
parents | 1e63cb55f61d |
children | 19410ce05a68 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java Mon Jul 28 14:48:11 2014 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java Mon Jul 28 15:53:07 2014 +0200 @@ -446,12 +446,12 @@ } private GuardedStamp computeGuardedStamp(GuardNode guard) { - if (guard.condition() instanceof IntegerBelowThanNode) { + if (guard.condition() instanceof IntegerBelowNode) { if (guard.negated()) { // Not sure how to reason about negated guards return null; } - IntegerBelowThanNode below = (IntegerBelowThanNode) guard.condition(); + IntegerBelowNode below = (IntegerBelowNode) guard.condition(); if (below.getX().getKind() == Kind.Int && below.getX().isConstant() && !below.getY().isConstant()) { Stamp stamp = StampTool.unsignedCompare(below.getX().stamp(), below.getY().stamp()); if (stamp != null) { @@ -520,8 +520,8 @@ } GuardNode existingGuard = null; - if (guard.condition() instanceof IntegerBelowThanNode) { - IntegerBelowThanNode below = (IntegerBelowThanNode) guard.condition(); + if (guard.condition() instanceof IntegerBelowNode) { + IntegerBelowNode below = (IntegerBelowNode) guard.condition(); IntegerStamp xStamp = (IntegerStamp) below.getX().stamp(); IntegerStamp yStamp = (IntegerStamp) below.getY().stamp(); GuardedStamp cstamp = state.valueConstraints.get(below.getX());