diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-25 13:45:25 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-25 13:45:25 -0800 |
commit | ebe8a3a0c9662271ccdde5c05bd59a5e98964574 (patch) | |
tree | 1c427751d3b3ca3afc99cc2e01bd88110000b993 /src/intertyper.js | |
parent | 1edc791be84e53fb46b57770c67c6c7b54d2d58a (diff) |
fix varargs calls in function pointers
Diffstat (limited to 'src/intertyper.js')
-rw-r--r-- | src/intertyper.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index c1b9b78e..b01d2a88 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -627,15 +627,12 @@ function intertyper(data, parseFunctions, baseLineNum) { } item.type = item.tokens[1].text; Types.needAnalysis[item.type] = 0; - item.functionType = ''; while (['@', '%'].indexOf(item.tokens[2].text[0]) == -1 && !(item.tokens[2].text in PARSABLE_LLVM_FUNCTIONS) && item.tokens[2].text != 'null') { // We cannot compile assembly. If you hit this, perhaps tell the compiler not // to generate arch-specific code? |-U__i386__ -U__x86_64__| might help, it undefines // the standard archs. assert(item.tokens[2].text != 'asm', 'Inline assembly cannot be compiled to JavaScript!'); - - item.functionType += item.tokens[2].text; item.tokens.splice(2, 1); } var tokensLeft = item.tokens.slice(2); |