diff graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java @ 2715:3ac3dd97d8df

Added ExceptionEdgeInstruction interface.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Thu, 19 May 2011 13:21:31 +0200
parents e235eb9e7b54
children c1a9bf38da28
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java	Thu May 19 13:14:02 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java	Thu May 19 13:21:31 2011 +0200
@@ -166,23 +166,6 @@
     }
 
     /**
-     * Gets the name of this instruction as a string.
-     * @return the name of this instruction
-     */
-    public final String name() {
-        return getClass().getSimpleName();
-    }
-
-    /**
-     * Apply the specified closure to all the values of this instruction, including
-     * input values, state values, and other values.
-     * @param closure the closure to apply
-     */
-    public final void allValuesDo(ValueClosure closure) {
-        inputValuesDo(closure);
-    }
-
-    /**
      * Gets the state after the instruction, if it is recorded. Typically only
      * instances of {@link BlockEnd} have a non-null state after.
      * @return the state after the instruction
@@ -190,8 +173,4 @@
     public FrameState stateAfter() {
         return null;
     }
-
-    public BlockBegin exceptionEdge() {
-        return null;
-    }
 }