Mercurial > hg > graal-jvmci-8
comparison graal/GraalCompiler/src/com/sun/c1x/ir/ValueVisitor.java @ 2538:e1ba5a93e997
Clean up on Value class and LIRGenerator/LIRItem-related things.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 27 Apr 2011 20:13:54 +0200 |
parents | 58c05e4c51e2 |
children | 3558ca7088c0 |
comparison
equal
deleted
inserted
replaced
2537:4a016ff4d2df | 2538:e1ba5a93e997 |
---|---|
24 | 24 |
25 /** | 25 /** |
26 * The {@link ValueVisitor} implements one half of the visitor | 26 * The {@link ValueVisitor} implements one half of the visitor |
27 * pattern for {@linkplain Value IR values}, allowing clients to implement functionality | 27 * pattern for {@linkplain Value IR values}, allowing clients to implement functionality |
28 * depending on the type of an value without doing type tests. | 28 * depending on the type of an value without doing type tests. |
29 * | |
30 * @author Ben L. Titzer | |
31 */ | 29 */ |
32 public abstract class ValueVisitor { | 30 public abstract class ValueVisitor { |
33 // Checkstyle: stop | 31 // Checkstyle: stop |
34 public abstract void visitArithmeticOp(ArithmeticOp i); | 32 public abstract void visitArithmeticOp(ArithmeticOp i); |
35 public abstract void visitArrayLength(ArrayLength i); | 33 public abstract void visitArrayLength(ArrayLength i); |