diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/ConstantLocationNode.java @ 17327:655f3e6b467b

made all Node data (i.e. non-edge) fields non-final and protected to support generating a copy "constructor" using Unsafe.allocateInstance
author Doug Simon <doug.simon@oracle.com>
date Fri, 03 Oct 2014 14:19:31 +0200
parents 845e881ce054
children c9bb0da795d4
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/ConstantLocationNode.java	Fri Oct 03 11:10:35 2014 +0200
+++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/extended/ConstantLocationNode.java	Fri Oct 03 14:19:31 2014 +0200
@@ -36,9 +36,9 @@
 @NodeInfo(nameTemplate = "Loc {p#locationIdentity/s}")
 public class ConstantLocationNode extends LocationNode {
 
-    protected final Kind valueKind;
-    protected final LocationIdentity locationIdentity;
-    protected final long displacement;
+    protected Kind valueKind;
+    protected LocationIdentity locationIdentity;
+    protected long displacement;
 
     public static ConstantLocationNode create(LocationIdentity identity, Kind kind, long displacement, Graph graph) {
         return graph.unique(ConstantLocationNode.create(identity, kind, displacement));