Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/AtomicReadAndWriteNode.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/java/AtomicReadAndWriteNode.java Fri Oct 03 11:10:35 2014 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/AtomicReadAndWriteNode.java Fri Oct 03 14:19:31 2014 +0200 @@ -43,8 +43,8 @@ @Input ValueNode offset; @Input ValueNode newValue; - protected final Kind valueKind; - protected final LocationIdentity locationIdentity; + protected Kind valueKind; + protected LocationIdentity locationIdentity; public static AtomicReadAndWriteNode create(ValueNode object, ValueNode offset, ValueNode newValue, Kind valueKind, LocationIdentity locationIdentity) { return USE_GENERATED_NODES ? new AtomicReadAndWriteNodeGen(object, offset, newValue, valueKind, locationIdentity) : new AtomicReadAndWriteNode(object, offset, newValue, valueKind,