aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-relocate-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-02 14:07:06 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:05 -0700
commit1f4e0951b950db2b4474ae40fb9c42c24fdeec68 (patch)
treefe8caa2907d2582705704c30696880bb6c23bbb3 /tools/test-js-optimizer-asm-relocate-output.js
parent4a907afae04289b7c22536a429f0e5adfdb39349 (diff)
handle multiple F_BASE_.. in relocation
Diffstat (limited to 'tools/test-js-optimizer-asm-relocate-output.js')
-rw-r--r--tools/test-js-optimizer-asm-relocate-output.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/test-js-optimizer-asm-relocate-output.js b/tools/test-js-optimizer-asm-relocate-output.js
index 6a197e81..2f999c6e 100644
--- a/tools/test-js-optimizer-asm-relocate-output.js
+++ b/tools/test-js-optimizer-asm-relocate-output.js
@@ -1,9 +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);
+ fixed(34, 4);
+ fixed(34 | 0, 102 | 0);
+ leaveMeAlone(2 + x, 33 + y);
+ leaveMeAlone(20 + x | 0, 33 + y | 0);
}