Mercurial > hg > truffle
diff graal/GraalCompiler/src/com/sun/c1x/ir/Value.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 | 4a016ff4d2df |
children | fa3bda50cbfd |
line wrap: on
line diff
--- a/graal/GraalCompiler/src/com/sun/c1x/ir/Value.java Wed Apr 27 19:53:46 2011 +0200 +++ b/graal/GraalCompiler/src/com/sun/c1x/ir/Value.java Wed Apr 27 20:13:54 2011 +0200 @@ -33,13 +33,9 @@ /** * This class represents a value within the HIR graph, including local variables, phis, and * all other instructions. - * - * @author Ben L. Titzer */ public abstract class Value { - /** - * An enumeration of flags on values. - */ + public enum Flag { NonNull, // this value is non-null @@ -50,14 +46,7 @@ NoReadBarrier, // does not require read barrier NoWriteBarrier, // does not require write barrier - NoDivSpecialCase, // divide or modulus cannot be special case of MIN_INT / -1 - DirectCompare, IsLoaded, // field or method is resolved and class is loaded and initialized - IsStatic, // field or method access is static - IsSafepoint, // branch is backward (safepoint) - IsStrictFP, - PreservesState, // intrinsic preserves state - UnorderedIsTrue, NeedsPatching, LiveValue, // live because value is used LiveDeopt, // live for deoptimization @@ -94,11 +83,6 @@ protected CiValue operand = CiValue.IllegalValue; /** - * A cache for analysis information. Every optimization must reset this field to {@code null} once it has completed. - */ - public Object optInfo; - - /** * Used by {@link InstructionSubstituter}. */ public Value subst;