aboutsummaryrefslogtreecommitdiff
path: root/tools/eliminator/eliminator-test-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-25 15:29:29 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-25 15:29:29 -0700
commit8973fc4a470b4b8ac00cec584dbedb69a7648a66 (patch)
treede286e914c111aed22b824c5dd4cfdf9461db9c3 /tools/eliminator/eliminator-test-output.js
parentc5d2ef67e109d8dd18c6254dc31ba3a7149a0ccb (diff)
do not eliminate into the body/else of if - this is rarely important, and requires much more time and complexity to handle
Diffstat (limited to 'tools/eliminator/eliminator-test-output.js')
-rw-r--r--tools/eliminator/eliminator-test-output.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js
index 8fcdd567..5a969284 100644
--- a/tools/eliminator/eliminator-test-output.js
+++ b/tools/eliminator/eliminator-test-output.js
@@ -112,8 +112,9 @@ function h() {
x = y ? x + 1 : 7;
var x = -5;
}
+ var oneUse = glob;
if (1) {
- otherGlob = glob;
+ otherGlob = oneUse;
breakMe();
}
var oneUse2 = glob2;