Mercurial > hg > truffle
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ValueVisitor.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 | e1ba5a93e997 |
children | 63633fb05914 |
comparison
equal
deleted
inserted
replaced
2615:5768534fd4e5 | 2616:3558ca7088c0 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.sun.c1x.ir; | 23 package com.sun.c1x.ir; |
24 | 24 |
25 import com.sun.c1x.value.*; | |
26 | |
25 /** | 27 /** |
26 * The {@link ValueVisitor} implements one half of the visitor | 28 * The {@link ValueVisitor} implements one half of the visitor |
27 * pattern for {@linkplain Value IR values}, allowing clients to implement functionality | 29 * pattern for {@linkplain Value IR values}, allowing clients to implement functionality |
28 * depending on the type of an value without doing type tests. | 30 * depending on the type of an value without doing type tests. |
29 */ | 31 */ |
36 public abstract void visitCheckCast(CheckCast i); | 38 public abstract void visitCheckCast(CheckCast i); |
37 public abstract void visitCompareOp(CompareOp i); | 39 public abstract void visitCompareOp(CompareOp i); |
38 public abstract void visitConstant(Constant i); | 40 public abstract void visitConstant(Constant i); |
39 public abstract void visitConvert(Convert i); | 41 public abstract void visitConvert(Convert i); |
40 public abstract void visitExceptionObject(ExceptionObject i); | 42 public abstract void visitExceptionObject(ExceptionObject i); |
43 public abstract void visitFrameState(FrameState i); | |
41 public abstract void visitGoto(Goto i); | 44 public abstract void visitGoto(Goto i); |
42 public abstract void visitIf(If i); | 45 public abstract void visitIf(If i); |
43 public abstract void visitIfOp(IfOp i); | 46 public abstract void visitIfOp(IfOp i); |
44 public abstract void visitInstanceOf(InstanceOf i); | 47 public abstract void visitInstanceOf(InstanceOf i); |
45 public abstract void visitInvoke(Invoke i); | 48 public abstract void visitInvoke(Invoke i); |