diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-18 17:23:00 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-18 17:23:00 -0800 |
commit | 3f93d8b1ca39f520da5b89c23e94f0b061838b15 (patch) | |
tree | 86d9e6cc6c856bfa659716e066ac9d920abb35e4 | |
parent | 52897895fb947665984a784555405ee0a806af18 (diff) |
do not include __inline with full library
-rw-r--r-- | src/jsifier.js | 2 | ||||
-rw-r--r-- | src/library.js | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 7caeea61..567520db 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -66,7 +66,7 @@ function JSify(data, functionsOnly, givenFunctions) { assert(!BUILD_AS_SHARED_LIB, 'Cannot have both INCLUDE_FULL_LIBRARY and BUILD_AS_SHARED_LIB set.') libFuncsToInclude = []; for (var key in LibraryManager.library) { - if (!key.match(/__(deps|postset)$/)) { + if (!key.match(/__(deps|postset|inline)$/)) { libFuncsToInclude.push(key); } } diff --git a/src/library.js b/src/library.js index 36aaef77..0d756608 100644 --- a/src/library.js +++ b/src/library.js @@ -5294,12 +5294,10 @@ LibraryManager.library = { // Save the label return '(' + makeSetValue(env, '0', '__label__', 'i32') + ', 0)'; }, - _setjmp: 'setjmp', longjmp: function(env, value) { throw { longjmp: true, label: {{{ makeGetValue('env', '0', 'i32') }}}, value: value || 1 }; }, - _longjmp: 'longjmp', // ========================================================================== // signal.h |