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/library.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/library.js')
-rw-r--r-- | src/library.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/library.js b/src/library.js index c180b7c4..2a67ee88 100644 --- a/src/library.js +++ b/src/library.js @@ -388,9 +388,6 @@ LibraryManager.library = { __impure_ptr = allocate([ allocate( {{{ QUANTUM_SIZE === 4 ? '[0, 0, 0, 0, _stdin, 0, 0, 0, _stdout, 0, 0, 0, _stderr, 0, 0, 0]' : '[0, _stdin, _stdout, _stderr]' }}}, 'void*', ALLOC_STATIC) ], 'void*', ALLOC_STATIC); - - // Once initialized, permissions start having effect. - FS.ignorePermissions = false; }, quit: function() { @@ -5481,11 +5478,6 @@ LibraryManager.library = { eval(Pointer_stringify(ptr)); }, - EMSCRIPTEN_COMMENT__inline: function(param) { - param = stripCorrections(param); - return '// ' + Variables.globals[param].value.text.replace('\\00', '') + ' '; - }, - $Profiling: { max_: 0, times: null, |