comparison graal/GraalCompiler/src/com/sun/c1x/value/FrameStateBuilder.java @ 2763:5e8a69041cd7

Model phi inputs as direct inputs in the graph instead of referring to the framestates of the predecessors.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Mon, 23 May 2011 14:51:18 +0200
parents a2f62de90c76
children 43ffa0e47a46
comparison
equal deleted inserted replaced
2762:ca31e84ff154 2763:5e8a69041cd7
475 } else { 475 } else {
476 return locks.get(i - locals.length - stack.length); 476 return locks.get(i - locals.length - stack.length);
477 } 477 }
478 } 478 }
479 479
480 @Override
481 public void setValueAt(int i, Value v) {
482 if (i < locals.length) {
483 locals[i] = v;
484 } else if (i < locals.length + stackIndex) {
485 stack[i - locals.length] = v;
486 } else {
487 locks.set(i - locals.length - stack.length, v);
488 }
489 }
490
480 } 491 }