Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/BlockBegin.java @ 2625:62ff4a70f07e
merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 10 May 2011 14:39:54 +0200 |
parents | 8e44074058af 91d3952f7eb7 |
children | 4dd0573f510b |
comparison
equal
deleted
inserted
replaced
2624:8e44074058af | 2625:62ff4a70f07e |
---|---|
58 } | 58 } |
59 | 59 |
60 /** | 60 /** |
61 * The frame state before execution of the first instruction in this block. | 61 * The frame state before execution of the first instruction in this block. |
62 */ | 62 */ |
63 @Override | |
64 public FrameState stateBefore() { | 63 public FrameState stateBefore() { |
65 return (FrameState) inputs().get(super.inputCount() + INPUT_STATE_BEFORE); | 64 return (FrameState) inputs().get(super.inputCount() + INPUT_STATE_BEFORE); |
66 } | 65 } |
67 | 66 |
68 public FrameState setStateBefore(FrameState n) { | 67 public FrameState setStateBefore(FrameState n) { |
123 /** | 122 /** |
124 * Denotes the current set of {@link BlockBegin.BlockFlag} settings. | 123 * Denotes the current set of {@link BlockBegin.BlockFlag} settings. |
125 */ | 124 */ |
126 private int blockFlags; | 125 private int blockFlags; |
127 | 126 |
127 private FrameState stateAfter; | |
128 | |
128 /** | 129 /** |
129 * The {@link BlockBegin} nodes for which this node is a successor. | 130 * The {@link BlockBegin} nodes for which this node is a successor. |
130 */ | 131 */ |
131 private final List<BlockBegin> predecessors; | 132 private final List<BlockBegin> predecessors; |
132 | 133 |
210 * Gets the loop index of this block. | 211 * Gets the loop index of this block. |
211 * @return the loop index | 212 * @return the loop index |
212 */ | 213 */ |
213 public int loopIndex() { | 214 public int loopIndex() { |
214 return loopIndex; | 215 return loopIndex; |
216 } | |
217 | |
218 public void setStateAfter(FrameState stateAfter) { | |
219 this.stateAfter = stateAfter; | |
220 } | |
221 | |
222 @Override | |
223 public FrameState stateAfter() { | |
224 return stateAfter; | |
215 } | 225 } |
216 | 226 |
217 /** | 227 /** |
218 * Gets the exception handlers that cover one or more instructions of this basic block. | 228 * Gets the exception handlers that cover one or more instructions of this basic block. |
219 * | 229 * |