Mercurial > hg > truffle
comparison graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/nodes/AssertionNode.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 | 7e2c87dae93e |
comparison
equal
deleted
inserted
replaced
18997:2ccaaf5a6be4 | 18998:ec0733b5a90a |
---|---|
34 * Assertion nodes will go away as soon as the value evaluates to true. Compile-time assertions will | 34 * Assertion nodes will go away as soon as the value evaluates to true. Compile-time assertions will |
35 * fail if this has not happened by the time the node is lowered to LIR, while runtime assertions | 35 * fail if this has not happened by the time the node is lowered to LIR, while runtime assertions |
36 * may need to insert a check. | 36 * may need to insert a check. |
37 */ | 37 */ |
38 @NodeInfo | 38 @NodeInfo |
39 public class AssertionNode extends FixedWithNextNode implements Lowerable, Canonicalizable, LIRLowerable { | 39 public final class AssertionNode extends FixedWithNextNode implements Lowerable, Canonicalizable, LIRLowerable { |
40 | 40 |
41 @Input ValueNode value; | 41 @Input ValueNode value; |
42 | 42 |
43 protected final boolean compileTimeAssertion; | 43 protected final boolean compileTimeAssertion; |
44 protected final String message; | 44 protected final String message; |