diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-25 14:09:39 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-25 14:09:39 -0700 |
commit | 056d7563e2c65f730f0a369e915fcd486dc7c607 (patch) | |
tree | 8c489d4f57d369671bdb17e037c9266072f052e5 | |
parent | 3832d865fa1f43c8ee4a855bf7eb40137ffb0e01 (diff) |
test fixes
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index bf04dd4c..6690acd9 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -70,8 +70,10 @@ function g(a1, a2) { for (var iterator in SOME_GLOBAL) { quux(iterator); } + var $0 = HEAP[5]; MAYBE_HEAP[myglobal] = 123; - if (HEAP[5] < 0) { + var $1 = $0 < 0; + if ($1) { __label__ = 1; } else { __label__ = 2; |