diff graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java @ 2543:c58a301eb2d7

Clean up on canTrap.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 21:22:10 +0200
parents 4a016ff4d2df
children f1bc67c2d453
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java	Wed Apr 27 20:58:01 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/NewArray.java	Wed Apr 27 21:22:10 2011 +0200
@@ -54,16 +54,6 @@
     }
 
     /**
-     * Checks whether this instruction can trap.
-     * @return <code>true</code>, conservatively assuming that this instruction can throw such
-     * exceptions as {@code OutOfMemoryError}
-     */
-    @Override
-    public boolean canTrap() {
-        return true;
-    }
-
-    /**
      * Applies the specified closure to all input values of this instruction.
      * @param closure the closure to apply
      */