Mercurial > hg > graal-compiler
diff graal/GraalCompiler/src/com/sun/c1x/ir/MonitorEnter.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 | 1c36b17f7ee0 |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/MonitorEnter.java Wed Apr 27 20:58:01 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/MonitorEnter.java Wed Apr 27 21:22:10 2011 +0200 @@ -46,15 +46,6 @@ super(object, lockAddress, stateBefore, lockNumber); } - /** - * Checks whether this instruction can trap. - * @return {@code true} if this instruction may raise a {@link NullPointerException} - */ - @Override - public boolean canTrap() { - return true; - } - @Override public void accept(ValueVisitor v) { v.visitMonitorEnter(this);