Mercurial > hg > graal-jvmci-8
diff graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java @ 2541:0f9eeb15e636
More Value.Flag clean up.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 20:58:01 +0200 |
parents | 16b9a8b5ad39 |
children | 768d77a1c7af |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java Wed Apr 27 20:27:43 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java Wed Apr 27 20:58:01 2011 +0200 @@ -39,13 +39,9 @@ * * Instruction nodes are chained together in a basic block through the embedded * {@link Instruction#next} field. An Instruction may also have a list of {@link ExceptionHandler}s. - * - * - * @author Ben L. Titzer */ public abstract class Instruction extends Value { - public static final int INVOCATION_ENTRY_BCI = -1; // XXX: not currently used public static final int SYNCHRONIZATION_ENTRY_BCI = -1; /** @@ -220,17 +216,6 @@ } /** - * Tests whether this instruction can trap. This is conservative; it does not take - * into account analysis results that may eliminate the possibility of this - * instruction from trapping. - * - * @return {@code true} if this instruction can cause a trap. - */ - public boolean canTrap() { - return false; - } - - /** * 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