Mercurial > hg > graal-compiler
comparison graal/GraalCompiler/src/com/sun/c1x/ir/Instruction.java @ 2616:3558ca7088c0
FrameState and Graphviz changes:
* removed popx, pushx methods from GraphBuilder
* FrameState subclass of Value
* added String shortName() to Node
* added GraphvizPrinter option to use short names
* small hack in GraphvizPrinter: omit FrameState->Local connections
* added GraalGraphviz to implicit classpatch (read from GRAAL env var)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Mon, 09 May 2011 17:00:25 +0200 |
parents | 01c5c0443158 |
children | 91d3952f7eb7 8e44074058af |
comparison
equal
deleted
inserted
replaced
2615:5768534fd4e5 | 2616:3558ca7088c0 |
---|---|
237 */ | 237 */ |
238 public final void allValuesDo(ValueClosure closure) { | 238 public final void allValuesDo(ValueClosure closure) { |
239 inputValuesDo(closure); | 239 inputValuesDo(closure); |
240 FrameState stateBefore = stateBefore(); | 240 FrameState stateBefore = stateBefore(); |
241 if (stateBefore != null) { | 241 if (stateBefore != null) { |
242 stateBefore.valuesDo(closure); | 242 stateBefore.inputValuesDo(closure); |
243 } | 243 } |
244 FrameState stateAfter = stateAfter(); | 244 FrameState stateAfter = stateAfter(); |
245 if (stateAfter != null) { | 245 if (stateAfter != null) { |
246 stateAfter.valuesDo(closure); | 246 stateAfter.inputValuesDo(closure); |
247 } | 247 } |
248 } | 248 } |
249 | 249 |
250 /** | 250 /** |
251 * Gets the state before the instruction, if it is recorded. | 251 * Gets the state before the instruction, if it is recorded. |