diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-30 14:48:41 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-30 15:35:51 -0800 |
commit | 49660048bffde0caa891da7ebfe1466d15c6e930 (patch) | |
tree | 222dd165aced4141ea914a04b03372d904612d59 /src/postamble_sharedlib.js | |
parent | c2e49c8b6bbd881f28ad5379e60a8938cbac23cc (diff) |
refactor compiler to allow future batching of types and globals. move postsets from run() to the toplevel to boost performance and simplify compilation. fix various bugs that were noticed during this
Diffstat (limited to 'src/postamble_sharedlib.js')
-rw-r--r-- | src/postamble_sharedlib.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/postamble_sharedlib.js b/src/postamble_sharedlib.js index 1fd78f23..c7a03597 100644 --- a/src/postamble_sharedlib.js +++ b/src/postamble_sharedlib.js @@ -1,8 +1,9 @@ // === Auto-generated postamble setup entry stuff === +{{GLOBAL_VARS}} + function run(args) { - {{GLOBAL_VARS}} __globalConstructor__(); } Module['run'] = run; |