Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/calc/ConditionalNode.java @ 18998:ec0733b5a90a
Allow final modifier on node subclasses and start adding the modifier to leaf classes.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 28 Jan 2015 02:34:14 +0100 |
parents | f57d86eb036f |
children | 30c8d110b281 |
comparison
equal
deleted
inserted
replaced
18997:2ccaaf5a6be4 | 18998:ec0733b5a90a |
---|---|
36 /** | 36 /** |
37 * The {@code ConditionalNode} class represents a comparison that yields one of two values. Note | 37 * The {@code ConditionalNode} class represents a comparison that yields one of two values. Note |
38 * that these nodes are not built directly from the bytecode but are introduced by canonicalization. | 38 * that these nodes are not built directly from the bytecode but are introduced by canonicalization. |
39 */ | 39 */ |
40 @NodeInfo | 40 @NodeInfo |
41 public class ConditionalNode extends FloatingNode implements Canonicalizable, LIRLowerable { | 41 public final class ConditionalNode extends FloatingNode implements Canonicalizable, LIRLowerable { |
42 | 42 |
43 @Input(InputType.Condition) LogicNode condition; | 43 @Input(InputType.Condition) LogicNode condition; |
44 @Input ValueNode trueValue; | 44 @Input ValueNode trueValue; |
45 @Input ValueNode falseValue; | 45 @Input ValueNode falseValue; |
46 | 46 |