Skip to content
Permalink
Browse files
nested closures during an ensure clone in IRBuilder should also be en…
…sure clones
  • Loading branch information
enebo committed Oct 15, 2014
1 parent 3348c11 commit 79a8dba24d500f0dc8bee75f49c6cfd2adfa9e02
Showing 1 changed file with 1 addition and 1 deletion.
@@ -24,7 +24,7 @@ protected CloneInfo(IRScope scope) {
}

public SimpleCloneInfo cloneForCloningClosure(IRClosure clonedClosure) {
SimpleCloneInfo clone = new SimpleCloneInfo(clonedClosure, false);
SimpleCloneInfo clone = new SimpleCloneInfo(clonedClosure, true);

for (Variable v: variableRenameMap.keySet()) {
clone.variableRenameMap.put(v, variableRenameMap.get(v));

0 comments on commit 79a8dba

Please sign in to comment.