Mercurial > hg > truffle
comparison graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/ConditionalEliminationPhase.java @ 14633:da2431cc1506
Rename ValueNode kind() to getKind().
author | Josef Eisl <josef.eisl@jku.at> |
---|---|
date | Thu, 20 Mar 2014 11:48:39 +0100 |
parents | fd7fcd2d2072 |
children | ea712c41c5a2 |
comparison
equal
deleted
inserted
replaced
14632:5f5e2711dc24 | 14633:da2431cc1506 |
---|---|
157 } | 157 } |
158 | 158 |
159 // this piece of code handles phis | 159 // this piece of code handles phis |
160 if (!(merge instanceof LoopBeginNode)) { | 160 if (!(merge instanceof LoopBeginNode)) { |
161 for (PhiNode phi : merge.phis()) { | 161 for (PhiNode phi : merge.phis()) { |
162 if (phi.type() == PhiType.Value && phi.kind() == Kind.Object) { | 162 if (phi.type() == PhiType.Value && phi.getKind() == Kind.Object) { |
163 ValueNode firstValue = phi.valueAt(0); | 163 ValueNode firstValue = phi.valueAt(0); |
164 ResolvedJavaType type = getNodeType(firstValue); | 164 ResolvedJavaType type = getNodeType(firstValue); |
165 boolean nonNull = knownNonNull.contains(firstValue); | 165 boolean nonNull = knownNonNull.contains(firstValue); |
166 boolean isNull = knownNull.contains(firstValue); | 166 boolean isNull = knownNull.contains(firstValue); |
167 | 167 |