Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/BlockEnd.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 | e1b3db8031ee |
comparison
equal
deleted
inserted
replaced
2538:e1ba5a93e997 | 2539:fa3bda50cbfd |
---|---|
51 public BlockEnd(CiKind kind, FrameState stateAfter, boolean isSafepoint, List<BlockBegin> successors) { | 51 public BlockEnd(CiKind kind, FrameState stateAfter, boolean isSafepoint, List<BlockBegin> successors) { |
52 super(kind); | 52 super(kind); |
53 this.successors = successors == null ? new ArrayList<BlockBegin>(2) : successors; | 53 this.successors = successors == null ? new ArrayList<BlockBegin>(2) : successors; |
54 setStateAfter(stateAfter); | 54 setStateAfter(stateAfter); |
55 this.isSafepoint = isSafepoint; | 55 this.isSafepoint = isSafepoint; |
56 setFlag(Flag.LiveSideEffect); | |
56 } | 57 } |
57 | 58 |
58 public BlockEnd(CiKind kind, FrameState stateAfter, boolean isSafepoint) { | 59 public BlockEnd(CiKind kind, FrameState stateAfter, boolean isSafepoint) { |
59 this(kind, stateAfter, isSafepoint, null); | 60 this(kind, stateAfter, isSafepoint, null); |
60 } | 61 } |