diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-03 18:11:18 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:22 -0800 |
commit | 3a56e5d5cfaebe5c03a9126b66eb7b62188fb11c (patch) | |
tree | ba8901acf1ae188e83ac5f4c626c84a075a955b7 /tools/eliminator/asm-eliminator-test-output.js | |
parent | bd9c3093f95947039d5e33aade6f5df1597ca9d5 (diff) |
make eliminateAsm test be correct asm.js
Diffstat (limited to 'tools/eliminator/asm-eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/asm-eliminator-test-output.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/eliminator/asm-eliminator-test-output.js b/tools/eliminator/asm-eliminator-test-output.js index 10b881a5..af12b469 100644 --- a/tools/eliminator/asm-eliminator-test-output.js +++ b/tools/eliminator/asm-eliminator-test-output.js @@ -10,6 +10,7 @@ function __Z11printResultPiS_j($needle, $haystack, $len) { $haystack = $haystack | 0; $len = $len | 0; var $3 = 0, __stackBase__ = 0; + __stackBase__ = STACKTOP; $3 = _bsearch($needle, $haystack, $len, 4, 2); if (($3 | 0) == 0) { _puts(_str | 0); |