Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Value.java @ 2635:0f69be73d5ce
More frame state fixes.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 11 May 2011 11:21:15 +0200 |
parents | b129b7da1397 |
children | 440ceca8e3d7 |
comparison
equal
deleted
inserted
replaced
2634:4dd0573f510b | 2635:0f69be73d5ce |
---|---|
268 */ | 268 */ |
269 public void inputValuesDo(ValueClosure closure) { | 269 public void inputValuesDo(ValueClosure closure) { |
270 for (int i = 0; i < inputs().size(); i++) { | 270 for (int i = 0; i < inputs().size(); i++) { |
271 inputs().set(i, closure.apply((Value) inputs().get(i))); | 271 inputs().set(i, closure.apply((Value) inputs().get(i))); |
272 } | 272 } |
273 for (int i = 0; i < successors().size(); i++) { | |
274 successors().set(i, closure.apply((Value) successors().get(i))); | |
275 } | |
273 } | 276 } |
274 | 277 |
275 @Override | 278 @Override |
276 public String toString() { | 279 public String toString() { |
277 StringBuilder builder = new StringBuilder(); | 280 StringBuilder builder = new StringBuilder(); |