Mercurial > hg > truffle
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/nodes/PrefetchAllocateNode.java @ 19403:61d3cb8e1280
Add generic parameter to NodeClass. Change Graph#getNodes(Class) to Graph#getNodes(NodeClass).
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 16 Feb 2015 17:47:43 +0100 |
parents | 7e2c87dae93e |
children | 8fc336a04d77 |
comparison
equal
deleted
inserted
replaced
19402:a16f1bbe2965 | 19403:61d3cb8e1280 |
---|---|
32 import com.oracle.graal.word.*; | 32 import com.oracle.graal.word.*; |
33 | 33 |
34 @NodeInfo | 34 @NodeInfo |
35 public final class PrefetchAllocateNode extends FixedWithNextNode implements LIRLowerable { | 35 public final class PrefetchAllocateNode extends FixedWithNextNode implements LIRLowerable { |
36 | 36 |
37 public static final NodeClass TYPE = NodeClass.get(PrefetchAllocateNode.class); | 37 public static final NodeClass<PrefetchAllocateNode> TYPE = NodeClass.get(PrefetchAllocateNode.class); |
38 @Input ValueNode distance; | 38 @Input ValueNode distance; |
39 @Input ValueNode address; | 39 @Input ValueNode address; |
40 | 40 |
41 public PrefetchAllocateNode(ValueNode address, ValueNode distance) { | 41 public PrefetchAllocateNode(ValueNode address, ValueNode distance) { |
42 super(TYPE, StampFactory.forVoid()); | 42 super(TYPE, StampFactory.forVoid()); |