comparison graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/ConstantLocationNode.java @ 17328:c9bb0da795d4

Backed out of changeset 17322:655f3e6b467b
author Doug Simon <doug.simon@oracle.com>
date Fri, 03 Oct 2014 14:19:58 +0200
parents 655f3e6b467b
children 45b45f902bed
comparison
equal deleted inserted replaced
17327:655f3e6b467b 17328:c9bb0da795d4
34 * where base is a node and disp is a constant. 34 * where base is a node and disp is a constant.
35 */ 35 */
36 @NodeInfo(nameTemplate = "Loc {p#locationIdentity/s}") 36 @NodeInfo(nameTemplate = "Loc {p#locationIdentity/s}")
37 public class ConstantLocationNode extends LocationNode { 37 public class ConstantLocationNode extends LocationNode {
38 38
39 protected Kind valueKind; 39 protected final Kind valueKind;
40 protected LocationIdentity locationIdentity; 40 protected final LocationIdentity locationIdentity;
41 protected long displacement; 41 protected final long displacement;
42 42
43 public static ConstantLocationNode create(LocationIdentity identity, Kind kind, long displacement, Graph graph) { 43 public static ConstantLocationNode create(LocationIdentity identity, Kind kind, long displacement, Graph graph) {
44 return graph.unique(ConstantLocationNode.create(identity, kind, displacement)); 44 return graph.unique(ConstantLocationNode.create(identity, kind, displacement));
45 } 45 }
46 46