aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-t2-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-29 11:03:08 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-29 11:03:08 -0800
commitd4bbcb6a28d26b3b2a17b02108088d189abb54bd (patch)
tree0877aa9f4cce6a2b711e2126c8ddfe1e734465e0 /tools/test-js-optimizer-t2-output.js
parentfb8bb521a9dd60778430e7a6fffa0fefac434728 (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.js1
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"]