aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-relocate-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-02 15:22:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:05 -0700
commit5beb8daae49c7ef9232a658c3158ebe0d565489c (patch)
tree00debc119ca0b81720df0680c40493f1f03d08f7 /tools/test-js-optimizer-asm-relocate-output.js
parentaebf1a7ba53cc744fe69f209126aea37b4eca1c7 (diff)
do not relocate function pointers when no need to (no such table in parent)
Diffstat (limited to 'tools/test-js-optimizer-asm-relocate-output.js')
-rw-r--r--tools/test-js-optimizer-asm-relocate-output.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-js-optimizer-asm-relocate-output.js b/tools/test-js-optimizer-asm-relocate-output.js
index 2f999c6e..2f8294c5 100644
--- a/tools/test-js-optimizer-asm-relocate-output.js
+++ b/tools/test-js-optimizer-asm-relocate-output.js
@@ -4,6 +4,6 @@ function a(x, y) {
fixed(34, 4);
fixed(34 | 0, 102 | 0);
leaveMeAlone(2 + x, 33 + y);
- leaveMeAlone(20 + x | 0, 33 + y | 0);
+ leaveMeAlone(x | 0, 33 + y | 0);
}