diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-15 18:53:01 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-15 18:53:01 -0700 |
commit | cf2846e05a399598f128db8106a87bc30a8f0c2c (patch) | |
tree | 692db0e17a6f7a5817857169430ed29a184c0b91 /emscripten.py | |
parent | ee3fa5ad0ff079a0f8f4f86a68b8b5de5a29aed4 (diff) |
fix separate table function pointer initial value
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index bc112e4d..629bbe5f 100755 --- a/emscripten.py +++ b/emscripten.py @@ -314,7 +314,7 @@ def emscript(infile, settings, outfile, libraries=[], compiler_engine=None, sig = forwarded_json['Functions']['implementedFunctions'].get(indexed) or forwarded_json['Functions']['unimplementedFunctions'].get(indexed) assert sig, indexed if sig not in table_counters: - table_counters[sig] = 2 + table_counters[sig] = 2 + 2*settings['RESERVED_FUNCTION_POINTERS'] curr = table_counters[sig] table_counters[sig] += 2 else: |