diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-02 17:10:19 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-02 17:10:19 -0800 |
commit | 1cc0066302ceb4aa02fab528c20b9145d46aac6e (patch) | |
tree | eb71ab504688372a3bf007d73d217c6eb53ab6f6 | |
parent | fc015116c71b77cef3e34a3f72eda460474216c8 (diff) | |
parent | 17708ae3d4948605a1f6ab1f97222c8b3aec899a (diff) |
Merge pull request #1966 from coolwanglu/pr1
Clean currExternalFunctions
-rw-r--r-- | src/jsifier.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 64111a57..2d0aadd7 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -95,19 +95,6 @@ function JSify(data, functionsOnly, givenFunctions) { // Functions - Functions.currExternalFunctions = !mainPass ? givenFunctions.currExternalFunctions : {}; - - data.functionStubs.forEach(function(func) { - // Don't overwrite stubs that have more info. - if (!Functions.currExternalFunctions.hasOwnProperty(func.ident) || - !Functions.currExternalFunctions[func.ident].numParams === undefined) { - Functions.currExternalFunctions[func.ident] = { - hasVarArgs: func.hasVarArgs, - numParams: func.params && func.params.length - }; - } - }); - if (phase == 'funcs') { // || phase == 'pre') { // pre has function shells, just to defined implementedFunctions var MAX_BATCH_FUNC_LINES = 1000; while (data.unparsedFunctions.length > 0) { |