Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/ArrayLength.java @ 2543:c58a301eb2d7
Clean up on canTrap.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 21:22:10 +0200 |
parents | 0f9eeb15e636 |
children | fec99fc30af1 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/ArrayLength.java Wed Apr 27 20:58:01 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/ArrayLength.java Wed Apr 27 21:22:10 2011 +0200 @@ -44,15 +44,6 @@ super(CiKind.Int, array, newFrameState); } - /** - * Checks whether this instruction can cause a trap. - * @return {@code true} if this instruction can cause a trap - */ - @Override - public boolean canTrap() { - return true; - } - @Override public void accept(ValueVisitor v) { v.visitArrayLength(this);