Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/AccessArray.java @ 2541:0f9eeb15e636
More Value.Flag clean up.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 20:58:01 +0200 |
parents | 16b9a8b5ad39 |
children | fec99fc30af1 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/AccessArray.java Wed Apr 27 20:27:43 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/AccessArray.java Wed Apr 27 20:58:01 2011 +0200 @@ -43,9 +43,6 @@ public AccessArray(CiKind kind, Value array, FrameState stateBefore) { super(kind, stateBefore); this.array = array; - if (array.isNonNull()) { - eliminateNullCheck(); - } } /** @@ -56,16 +53,6 @@ return array; } - /** - * Clears the state if this instruction can (no longer) trap. - */ - @Override - public void runtimeCheckCleared() { - if (!canTrap()) { - clearState(); - } - } - @Override public void inputValuesDo(ValueClosure closure) { array = closure.apply(array);