diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-29 11:03:08 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-29 11:03:08 -0800 |
commit | d4bbcb6a28d26b3b2a17b02108088d189abb54bd (patch) | |
tree | 0877aa9f4cce6a2b711e2126c8ddfe1e734465e0 /tools/test-js-optimizer-t2-output.js | |
parent | fb8bb521a9dd60778430e7a6fffa0fefac434728 (diff) |
fix bug with optimizeShifts asserting shifted constants can always be simplified
Diffstat (limited to 'tools/test-js-optimizer-t2-output.js')
-rw-r--r-- | tools/test-js-optimizer-t2-output.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-t2-output.js b/tools/test-js-optimizer-t2-output.js index bc47c9bb..30e706f9 100644 --- a/tools/test-js-optimizer-t2-output.js +++ b/tools/test-js-optimizer-t2-output.js @@ -73,5 +73,6 @@ function shifty($id) { pause(7); q(go()); q(go() >> 8 << 8); + q(go() + 2 >> 2); } // EMSCRIPTEN_GENERATED_FUNCTIONS: ["shifty"] |