aboutsummaryrefslogtreecommitdiff
path: root/emlink.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-24 18:05:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:03 -0700
commit54aecffa440170bc9508fc4af5db0e8a866862fa (patch)
tree4b526867567c419cacbadd7123586ebe1c9f1940 /emlink.py
parent5cee70c892ac444f6030e4989755313cc3215569 (diff)
allow extra info in js optimizer, and send relocate pass info that way
Diffstat (limited to 'emlink.py')
-rw-r--r--emlink.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emlink.py b/emlink.py
index a2c24a1b..041b0b6f 100644
--- a/emlink.py
+++ b/emlink.py
@@ -69,7 +69,7 @@ class AsmModule():
replacements[func] = rep
#print replacements
- temp = shared.Building.js_optimizer(self.filename, ['asm', 'relocate'])
+ temp = shared.Building.js_optimizer(self.filename, ['asm', 'relocate'], extra_info={ 'replacements': replacements })
relocated_funcs = AsmModule(temp)
shared.try_delete(temp)
main.extra_funcs_js = relocated_funcs.funcs_js