Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PhiNode.java @ 22604:b00cc0475f31
Update jvmci import: Refactoring: Rename Kind to JavaKind.
author | Roland Schatz <roland.schatz@oracle.com> |
---|---|
date | Tue, 08 Sep 2015 19:57:39 +0200 |
parents | 0e095e2c24e2 |
children | 05183a084a08 |
comparison
equal
deleted
inserted
replaced
22603:6d339ba0edc5 | 22604:b00cc0475f31 |
---|---|
133 } | 133 } |
134 } | 134 } |
135 | 135 |
136 public void addInput(ValueNode x) { | 136 public void addInput(ValueNode x) { |
137 assert !(x instanceof ValuePhiNode) || ((ValuePhiNode) x).merge() instanceof LoopBeginNode || ((ValuePhiNode) x).merge() != this.merge(); | 137 assert !(x instanceof ValuePhiNode) || ((ValuePhiNode) x).merge() instanceof LoopBeginNode || ((ValuePhiNode) x).merge() != this.merge(); |
138 assert !(this instanceof ValuePhiNode) || x.stamp().isCompatible(stamp()) || (stamp().getStackKind() == Kind.Int && x.stamp().getStackKind().getBitCount() >= Kind.Int.getBitCount()); | 138 assert !(this instanceof ValuePhiNode) || x.stamp().isCompatible(stamp()) || (stamp().getStackKind() == JavaKind.Int && x.stamp().getStackKind().getBitCount() >= JavaKind.Int.getBitCount()); |
139 values().add(x); | 139 values().add(x); |
140 } | 140 } |
141 | 141 |
142 public void removeInput(int index) { | 142 public void removeInput(int index) { |
143 values().remove(index); | 143 values().remove(index); |