diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-25 16:51:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-25 17:01:44 -0700 |
commit | 296cd5f54cb598fad7c9e58776bac906da1add02 (patch) | |
tree | 80bbc4c143b780f62f4814d19b58c803466d22e1 /src/jsifier.js | |
parent | 5041ed44a66938588e674b9f7c03b9281b99c4e1 (diff) |
support fround in function tables and asm module support functions
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 7a2fdde0..79ad9c03 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1579,7 +1579,7 @@ function JSify(data, functionsOnly, givenFunctions) { returnType = getReturnType(type); if (callIdent in Functions.implementedFunctions) { // LLVM sometimes bitcasts for no reason. We must call using the exact same type as the actual function is generated as - var trueType = Functions.getSignatureReturnType(Functions.implementedFunctions[callIdent]); + var trueType = Functions.getSignatureType(Functions.implementedFunctions[callIdent][0]); if (trueType !== returnType && !isIdenticallyImplemented(trueType, returnType)) { if (VERBOSE) warnOnce('Fixing function call based on return type from signature, on ' + [callIdent, returnType, trueType]); returnType = trueType; |