diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-24 13:50:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-24 13:50:10 -0700 |
commit | e94938b90603372d8dadfbbdc0ed4088ef68078b (patch) | |
tree | bc4071d790124cd7c7b3f211401fc7d2d0c81262 /tools/test-js-optimizer-asm-relocate-output.js | |
parent | 454e20609b2526c2397cb67386fc759df872fd2f (diff) |
relocation pass for shared modules
Diffstat (limited to 'tools/test-js-optimizer-asm-relocate-output.js')
-rw-r--r-- | tools/test-js-optimizer-asm-relocate-output.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-asm-relocate-output.js b/tools/test-js-optimizer-asm-relocate-output.js new file mode 100644 index 00000000..6a197e81 --- /dev/null +++ b/tools/test-js-optimizer-asm-relocate-output.js @@ -0,0 +1,9 @@ +function leaveMeAlone(c) {} +function fixed(a, b) {} +function a(x, y) { + fixed(34, 12); + fixed(34 | 0, 12 | 0); + leaveMeAlone(10 + x, 33 + y); + leaveMeAlone(10 + x | 0, 33 + y | 0); +} + |