aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-pre-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-08 16:41:44 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-08 16:43:52 -0800
commit78dbafb289e222550abda6b53e7099352a599804 (patch)
treebac704182dd01dc3d78bf0f1ca6064f78b1d7786 /tools/test-js-optimizer-asm-pre-output.js
parent0779c55c28f17d796f3f13962cfcac954e6cef59 (diff)
keep a coercion right on top of heap accesses in asm mode
Diffstat (limited to 'tools/test-js-optimizer-asm-pre-output.js')
-rw-r--r--tools/test-js-optimizer-asm-pre-output.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-asm-pre-output.js b/tools/test-js-optimizer-asm-pre-output.js
new file mode 100644
index 00000000..10212470
--- /dev/null
+++ b/tools/test-js-optimizer-asm-pre-output.js
@@ -0,0 +1,4 @@
+function a() {
+ f((HEAPU8[10202] | 0) + 5 | 0);
+}
+