aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-01 16:46:45 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:22 -0800
commitf9e3b6eed3c4257c82d1353eb61af7217ddb5b9d (patch)
tree55d15321f7cd295453f2995a7961525079fdd590 /emscripten.py
parent358ec5c1a512188b646d478e698e6d668c0400f6 (diff)
take into account legalization of i64s into i32s in function signatures
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py
index 1b05a7a8..83ef740f 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -254,6 +254,7 @@ def emscript(infile, settings, outfile, libraries=[]):
forwarded_json['Functions']['indexedFunctions'] = {}
i = 2
for indexed in indexed_functions:
+ #print >> sys.stderr, 'indaxx', indexed, i
forwarded_json['Functions']['indexedFunctions'][indexed] = i # make sure not to modify this python object later - we use it in indexize
i += 2
forwarded_json['Functions']['nextIndex'] = i