diff options
author | alon@honor <none@none> | 2010-09-04 15:42:58 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-04 15:42:58 -0700 |
commit | 6e15b7617b8a641faa96aed18e1644d39ccab09e (patch) | |
tree | 75c856f205d829015efa6f93deb43121b1a20755 /src/parser.js | |
parent | a21a2fcf89e3f19ff004b0656c4737f999e1563a (diff) |
function fix
Diffstat (limited to 'src/parser.js')
-rw-r--r-- | src/parser.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.js b/src/parser.js index 82af3337..caae9098 100644 --- a/src/parser.js +++ b/src/parser.js @@ -541,7 +541,7 @@ function intertyper(data) { item.tokens.slice(-1)[0].text == '{' }, processItem: function(item) { item.tokens = item.tokens.filter(function(token) { - return ['internal', 'signext', 'nounwind', 'define', 'linkonce_odr', 'inlinehint', '{'].indexOf(token.text) == -1; + return ['internal', 'signext', 'zeroext', 'nounwind', 'define', 'linkonce_odr', 'inlinehint', '{'].indexOf(token.text) == -1; }); return [{ __result__: true, @@ -1958,6 +1958,7 @@ function JSify(data) { }, }); // function reconstructor & post-JS optimizer + // TODO: optimize to prevent multiple loops, one per function. See processPairs substrate.addZyme('FunctionReconstructor', { select: function(items) { var func = items.filter(function(item) { return item.intertype == 'function' && item.passes.splitted })[0]; |