comparison graal/GraalCompiler/src/com/sun/c1x/ir/Value.java @ 2539:fa3bda50cbfd

More clean up on Value.Flags.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 20:22:05 +0200
parents e1ba5a93e997
children 3fc322165071
comparison
equal deleted inserted replaced
2538:e1ba5a93e997 2539:fa3bda50cbfd
45 NoZeroCheck, // divide or modulus cannot cause exception 45 NoZeroCheck, // divide or modulus cannot cause exception
46 46
47 NoReadBarrier, // does not require read barrier 47 NoReadBarrier, // does not require read barrier
48 NoWriteBarrier, // does not require write barrier 48 NoWriteBarrier, // does not require write barrier
49 IsLoaded, // field or method is resolved and class is loaded and initialized 49 IsLoaded, // field or method is resolved and class is loaded and initialized
50 NeedsPatching,
51 LiveValue, // live because value is used 50 LiveValue, // live because value is used
52 LiveDeopt, // live for deoptimization 51 LiveDeopt, // live for deoptimization
53 LiveControl, // live for control dependencies
54 LiveSideEffect, // live for possible side-effects only 52 LiveSideEffect, // live for possible side-effects only
55 LiveStore, // instruction is a store
56 PhiDead, // phi is illegal because local is dead 53 PhiDead, // phi is illegal because local is dead
57 PhiCannotSimplify, // phi cannot be simplified 54 PhiCannotSimplify, // phi cannot be simplified
58 PhiVisited; // phi has been visited during simplification 55 PhiVisited; // phi has been visited during simplification
59 56
60 public final int mask = 1 << ordinal(); 57 public final int mask = 1 << ordinal();
61 } 58 }
62 59
63 private static final int LIVE_FLAGS = Flag.LiveValue.mask | 60 private static final int LIVE_FLAGS = Flag.LiveValue.mask |
64 Flag.LiveDeopt.mask | 61 Flag.LiveDeopt.mask |
65 Flag.LiveControl.mask |
66 Flag.LiveSideEffect.mask; 62 Flag.LiveSideEffect.mask;
67 /** 63 /**
68 * The kind of this value. This is {@link CiKind#Void} for instructions that produce no value. 64 * The kind of this value. This is {@link CiKind#Void} for instructions that produce no value.
69 * This kind is guaranteed to be a {@linkplain CiKind#stackKind() stack kind}. 65 * This kind is guaranteed to be a {@linkplain CiKind#stackKind() stack kind}.
70 */ 66 */