comparison graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java @ 2635:0f69be73d5ce

More frame state fixes.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 11 May 2011 11:21:15 +0200
parents 62ff4a70f07e
children 7ed72769d51a
comparison
equal deleted inserted replaced
2634:4dd0573f510b 2635:0f69be73d5ce
235 * input values, state values, and other values. 235 * input values, state values, and other values.
236 * @param closure the closure to apply 236 * @param closure the closure to apply
237 */ 237 */
238 public final void allValuesDo(ValueClosure closure) { 238 public final void allValuesDo(ValueClosure closure) {
239 inputValuesDo(closure); 239 inputValuesDo(closure);
240 FrameState stateAfter = stateAfter();
241 if (stateAfter != null) {
242 stateAfter.inputValuesDo(closure);
243 }
244 } 240 }
245 241
246 /** 242 /**
247 * Gets the state after the instruction, if it is recorded. Typically only 243 * Gets the state after the instruction, if it is recorded. Typically only
248 * instances of {@link BlockEnd} have a non-null state after. 244 * instances of {@link BlockEnd} have a non-null state after.