Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/StoreField.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 |
---|---|
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, boolean isLoaded) { |
50 super(CiKind.Void, object, field, stateBefore, isLoaded); | 50 super(CiKind.Void, object, field, stateBefore, isLoaded); |
51 this.value = value; | 51 this.value = value; |
52 setFlag(Flag.LiveStore); | 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 } |
56 } | 56 } |
57 | 57 |