Mercurial > hg > graal-compiler
changeset 17189:a4b8c73ebb7d
Copy graph properties when copying a graph
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 23 Sep 2014 19:20:40 -0700 |
parents | 55a924683e72 |
children | 9ff6aee72c8b |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StructuredGraph.java |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StructuredGraph.java Tue Sep 23 13:40:00 2014 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StructuredGraph.java Tue Sep 23 19:20:40 2014 -0700 @@ -168,6 +168,8 @@ public StructuredGraph copy(String newName, ResolvedJavaMethod newMethod) { StructuredGraph copy = new StructuredGraph(newName, newMethod, graphId, entryBCI); copy.setGuardsStage(getGuardsStage()); + copy.isAfterFloatingReadPhase = isAfterFloatingReadPhase; + copy.hasValueProxies = hasValueProxies; HashMap<Node, Node> replacements = new HashMap<>(); replacements.put(start, copy.start); copy.addDuplicates(getNodes(), this, this.getNodeCount(), replacements);