comparison graal/GraalCompiler/src/com/sun/c1x/ir/StoreField.java @ 2540:3fc322165071

More flags clean up.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 20:27:43 +0200
parents fa3bda50cbfd
children 0f9eeb15e636
comparison
equal deleted inserted replaced
2539:fa3bda50cbfd 2540:3fc322165071
44 * @param value the instruction representing the value to store to the field 44 * @param value the instruction representing the value to store to the field
45 * @param isStatic indicates if the field is static 45 * @param isStatic indicates if the field is static
46 * @param stateBefore the state before the field access 46 * @param stateBefore the state before the field access
47 * @param isLoaded indicates if the class is loaded 47 * @param isLoaded indicates if the class is loaded
48 */ 48 */
49 public StoreField(Value object, RiField field, Value value, FrameState stateBefore, boolean isLoaded) { 49 public StoreField(Value object, RiField field, Value value, FrameState stateBefore) {
50 super(CiKind.Void, object, field, stateBefore, isLoaded); 50 super(CiKind.Void, object, field, stateBefore);
51 this.value = value; 51 this.value = value;
52 setFlag(Flag.LiveSideEffect); 52 setFlag(Flag.LiveSideEffect);
53 if (value.kind != CiKind.Object) { 53 if (value.kind != CiKind.Object) {
54 setFlag(Flag.NoWriteBarrier); 54 setFlag(Flag.NoWriteBarrier);
55 } 55 }