diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-02 14:20:11 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-03 15:31:05 -0700 |
commit | aebf1a7ba53cc744fe69f209126aea37b4eca1c7 (patch) | |
tree | 77c6c71d41d92fb88ec3980b32c2632c2857a312 /src/jsifier.js | |
parent | 1f4e0951b950db2b4474ae40fb9c42c24fdeec68 (diff) |
refactor getIndex calls to include the signature
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 7072c9c8..c0f42ceb 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1525,7 +1525,7 @@ function JSify(data, functionsOnly, givenFunctions) { // This is a call through an invoke_*, either a forced one, or a setjmp-required one // note: no need to update argsTypes at this point if (byPointerForced) Functions.unimplementedFunctions[callIdent] = sig; - args.unshift(byPointerForced ? Functions.getIndex(callIdent) : asmCoercion(callIdent, 'i32')); + args.unshift(byPointerForced ? Functions.getIndex(callIdent, undefined, sig) : asmCoercion(callIdent, 'i32')); callIdent = 'invoke_' + sig; } } else if (SAFE_DYNCALLS) { |