diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-23 18:42:28 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-23 18:42:28 -0800 |
commit | 508d4f02413a6f3d1924c17e410882081ba67615 (patch) | |
tree | 006f024f28455c7b54873e8862ed933af5562497 /tools/eliminator/asm-eliminator-test-output.js | |
parent | 5f00b61350b9236c36e81dafd5e8e3a9c93b347e (diff) |
make eliminator not get confused by calls without a return but with a coercion
Diffstat (limited to 'tools/eliminator/asm-eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/asm-eliminator-test-output.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/eliminator/asm-eliminator-test-output.js b/tools/eliminator/asm-eliminator-test-output.js index c71063cb..a344fc35 100644 --- a/tools/eliminator/asm-eliminator-test-output.js +++ b/tools/eliminator/asm-eliminator-test-output.js @@ -299,4 +299,9 @@ function select2($foundBase_0_off0) { STACKTOP = sp; return ($foundBase_0_off0 ? 0 : $call24) | 0; } +function binary(x) { + x = x | 0; + memset(f(x)) | 0; + +dmemset(f(x)); +} |