aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-13 13:22:39 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-13 13:22:39 -0800
commitdc8b20bbb26d4a10119f07b58e02a1a15eccd07c (patch)
treed2cf90091d38dc550d9d47b967c28c0c188985d0 /tools/test-js-optimizer-output.js
parent33745b7c407af78f9ea0d1c71d35ccf64e3ba2ed (diff)
optimize & expressions more
Diffstat (limited to 'tools/test-js-optimizer-output.js')
-rw-r--r--tools/test-js-optimizer-output.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-output.js b/tools/test-js-optimizer-output.js
index b88db21d..c95a36ff 100644
--- a/tools/test-js-optimizer-output.js
+++ b/tools/test-js-optimizer-output.js
@@ -279,4 +279,16 @@ function notComps() {
function tricky() {
var $conv642 = $conv6374 - (($132 << 16 >> 16 | 0) / 2 & -1) & 65535;
}
+function asmy() {
+ f(HEAPU8[_buf + i6 & 16777215]);
+ f(HEAPU8[_buf + i6 & 16777215]);
+ f(HEAP8[_buf + i6 & 16777215] & 1);
+ f(HEAPU8[_buf + i6 & 16777215] & 1);
+ f(HEAP8[_buf + i6 & 16777215] & 1);
+ f(HEAPU8[_buf + i6 & 16777215] & 1);
+ f((HEAP8[_buf + i6 & 16777215] & 1) + i5 | 0);
+ f((HEAPU8[_buf + i6 & 16777215] & 1) + i5 | 0);
+ f((HEAP8[_buf + i6 & 16777215] & 1) + i5 | 0);
+ f((HEAPU8[_buf + i6 & 16777215] & 1) + i5 | 0);
+}