Skip to content

Commit

Permalink
nested closures during an ensure clone in IRBuilder should also be en…
Browse files Browse the repository at this point in the history
…sure clones
  • Loading branch information
enebo committed Oct 15, 2014
1 parent 3348c11 commit 79a8dba
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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));
Expand Down

0 comments on commit 79a8dba

Please sign in to comment.