diff graal/GraalCompiler/src/com/sun/c1x/ir/NullCheck.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 f1bc67c2d453
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NullCheck.java	Wed Apr 27 20:58:01 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NullCheck.java	Wed Apr 27 21:22:10 2011 +0200
@@ -54,15 +54,6 @@
         return object;
     }
 
-    /**
-     * 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 inputValuesDo(ValueClosure closure) {
         object = closure.apply(object);