diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-31 16:58:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-31 16:58:56 -0700 |
commit | 8ef6b1bade9a7a8a29894feb4e6fe3ca8dad711c (patch) | |
tree | 4c0617c027ad628d5246f10d286b46b0cdbe10f6 /src/modules.js | |
parent | a349c5df70c2e2c6e5aaa82b22742161adfeec0b (diff) |
explicitly identify emscripten-generated functions (as opposed to library ones, or handwritten ones appended to the same file), and run eliminator only on those
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules.js b/src/modules.js index 3b370878..f04731f8 100644 --- a/src/modules.js +++ b/src/modules.js @@ -228,6 +228,9 @@ var Functions = { // All functions that will be implemented in this file implementedFunctions: null, + // All the function idents seen so far + allIdents: [], + indexedFunctions: [0, 0], // Start at a non-0 (even, see below) value // Mark a function as needing indexing, and returns the index |