diff options
author | alon@honor <none@none> | 2010-10-10 22:52:54 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-10-10 22:52:54 -0700 |
commit | 425295d786880c7741a9eab9768d5aa32a7c3faf (patch) | |
tree | 1b81f92fb3dc0fdf40dadd57bbbfdf3d67a2aa45 /src/postamble.js | |
parent | 5a4c4614b70c0dfe7d5f19b72379b52210e4afa5 (diff) |
typed arrays support; function __index__ing ; 36% speedup
Diffstat (limited to 'src/postamble.js')
-rw-r--r-- | src/postamble.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/postamble.js b/src/postamble.js index 1329a1a4..07fe1d2e 100644 --- a/src/postamble.js +++ b/src/postamble.js @@ -23,7 +23,11 @@ function run(args) { _main(argc, argv); while( __ATEXIT__.length > 0) { - __ATEXIT__.pop()(); + var func = __ATEXIT__.pop(); + if (typeof func === 'number') { + func = FUNCTION_TABLE[func]; + } + func(); } } |