Skip to content

Commit

Permalink
emit runPostSets call in fastcomp
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Nov 29, 2013
1 parent 77d7add commit ac5f10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emscripten.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def save_settings():
# 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]
Expand Down

0 comments on commit ac5f10d

Please sign in to comment.