Mercurial > hg > truffle
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/SafepointNode.java @ 8197:4f81da21fa06
made SafepointNode extensible (temp. solution until SafepointNodes are lowered via snippets)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 11 Mar 2013 14:02:18 +0100 |
parents | 141817e206d4 |
children | 2c0c708a0ad6 |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/SafepointNode.java Mon Mar 11 14:01:16 2013 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/SafepointNode.java Mon Mar 11 14:02:18 2013 +0100 @@ -29,10 +29,14 @@ /** * Marks a position in the graph where a safepoint should be emitted. */ -public final class SafepointNode extends FixedWithNextNode implements LIRLowerable, Node.IterableNodeType { +public class SafepointNode extends FixedWithNextNode implements LIRLowerable, Node.IterableNodeType { public SafepointNode() { - super(StampFactory.forVoid()); + this(StampFactory.forVoid()); + } + + public SafepointNode(Stamp stamp) { + super(stamp); } @Override