Mercurial > hg > truffle
comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/IndexedLocationNode.java @ 19526:8fc336a04d77
Create TYPE fields for LIRInstruction and CompositeValue. Renaming NodeClass#get to NodeClass#create.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 20 Feb 2015 22:22:55 +0100 |
parents | 61d3cb8e1280 |
children | 58f2aad37d0e |
comparison
equal
deleted
inserted
replaced
19525:35481bcb5882 | 19526:8fc336a04d77 |
---|---|
37 * [base + index * scale + disp] where base and index are nodes and scale and disp are integer | 37 * [base + index * scale + disp] where base and index are nodes and scale and disp are integer |
38 * constants. | 38 * constants. |
39 */ | 39 */ |
40 @NodeInfo(nameTemplate = "IdxLoc {p#locationIdentity/s}") | 40 @NodeInfo(nameTemplate = "IdxLoc {p#locationIdentity/s}") |
41 public final class IndexedLocationNode extends LocationNode implements Canonicalizable { | 41 public final class IndexedLocationNode extends LocationNode implements Canonicalizable { |
42 public static final NodeClass<IndexedLocationNode> TYPE = NodeClass.get(IndexedLocationNode.class); | 42 public static final NodeClass<IndexedLocationNode> TYPE = NodeClass.create(IndexedLocationNode.class); |
43 | 43 |
44 protected final LocationIdentity locationIdentity; | 44 protected final LocationIdentity locationIdentity; |
45 protected final long displacement; | 45 protected final long displacement; |
46 @Input ValueNode index; | 46 @Input ValueNode index; |
47 protected final int indexScaling; | 47 protected final int indexScaling; |