Permalink
Browse files

fixed a typo in rangeanalysis

  • Loading branch information...
1 parent 7505efa commit ab8d90ad537ddcb932f2fd9b2ff216c5a755b3fe @sherhut sherhut committed Sep 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jslib/jit/compiler/rangeanalysis.js
@@ -704,7 +704,7 @@ RiverTrail.RangeAnalysis = function () {
drive(ast.children[0], varEnv, doAnnotate, predCE, undefined, true); // compute inverse
var elseVE = new VarEnv(varEnv);
elseVE.applyConstraints(predCE);
- right = drive(ast.children[2], elseEnv, doAnnotate);
+ right = drive(ast.children[2], elseVE, doAnnotate);
thenVE.merge(elseVE);
varEnv.updateAll(thenVE);
result = left.union(right);

0 comments on commit ab8d90a

Please sign in to comment.