diff graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java @ 2538:e1ba5a93e997

Clean up on Value class and LIRGenerator/LIRItem-related things.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 20:13:54 +0200
parents 16b9a8b5ad39
children c58a301eb2d7
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java	Wed Apr 27 19:53:46 2011 +0200
+++ b/graal/GraalCompiler/src/com/sun/c1x/ir/TypeCheck.java	Wed Apr 27 20:13:54 2011 +0200
@@ -101,19 +101,4 @@
         object = closure.apply(object);
         targetClassInstruction = closure.apply(targetClassInstruction);
     }
-
-    /**
-     * Sets this type check operation to be a direct compare.
-     */
-    public void setDirectCompare() {
-        setFlag(Flag.DirectCompare);
-    }
-
-    /**
-     * Checks where this comparison is a direct compare, because the class compared to is a leaf class.
-     * @return {@code true} if this typecheck is a direct compare
-     */
-    public boolean isDirectCompare() {
-        return checkFlag(Flag.DirectCompare);
-    }
 }