aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-29 13:46:15 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-29 13:46:15 -0800
commitac5f10d1afb19d60c395a42dccfd88fb92e2a55d (patch)
treeb71e276864774755c6e93cc8e95869e9ea488f4c /emscripten.py
parent77d7add6a09e5e9a3dc435b500410c700e97f721 (diff)
emit runPostSets call in fastcomp
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 35acfd78..84ec6943 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -838,7 +838,7 @@ def emscript_fast(infile, settings, outfile, libraries=[], compiler_engine=None,
# memory initializer
pre = pre.replace('STATICTOP = STATIC_BASE + 0;', '''STATICTOP = STATIC_BASE + Runtime.alignMemory(%d);
-// /* global initializers */ __ATINIT__.push({ func: function() { runPostSets() } });
+/* global initializers */ __ATINIT__.push({ func: function() { runPostSets() } });
%s''' % (mem_init.count(',')+1, mem_init)) # XXX wrong size calculation!
funcs_js = [funcs]