Skip to content

Commit

Permalink
fixed files form Closure #58
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent e8ec049 commit 0980101
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,12 @@ private void computeGenKill(Node n, BitSet gen, BitSet kill,
// for(var x in y) {...}
lhs = lhs.getLastChild();
}
if (NodeUtil.isName(lhs)) {
addToSetIfLocal(lhs, kill);
addToSetIfLocal(lhs, gen);
} else {
computeGenKill(lhs, gen, kill, conditional);
}
computeGenKill(rhs, gen, kill, conditional);
}
return;
Expand Down

0 comments on commit 0980101

Please sign in to comment.