Mercurial > hg > graal-jvmci-8
changeset 9549:c45c0bda3602
Merge (fixed: 05b8a812b487 Remove dead IsNull nodes in Guard lowering phase)
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Fri, 03 May 2013 20:25:27 +0200 |
parents | 52353ed06cdf (diff) 05b8a812b487 (current diff) |
children | 49b2c7b65e62 |
files | |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/virtual/CommitAllocationNode.java Thu May 02 14:37:27 2013 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/virtual/CommitAllocationNode.java Fri May 03 20:25:27 2013 +0200 @@ -35,7 +35,7 @@ @Input private final NodeInputList<VirtualObjectNode> virtualObjects = new NodeInputList<>(this); @Input private final NodeInputList<ValueNode> values = new NodeInputList<>(this); - private final List<int[]> locks = new ArrayList<>(); + private List<int[]> locks = new ArrayList<>(); public CommitAllocationNode() { super(StampFactory.forVoid()); @@ -72,6 +72,13 @@ } @Override + public Node clone(Graph into) { + CommitAllocationNode clone = (CommitAllocationNode) super.clone(into); + clone.locks = new ArrayList<>(locks); + return clone; + } + + @Override public void virtualize(VirtualizerTool tool) { int pos = 0; for (int i = 0; i < virtualObjects.size(); i++) {