diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-28 18:12:53 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:41:29 -0700 |
commit | c76946b2f3cebf00a5e24c9582eb9b59f1039a6d (patch) | |
tree | 26754c6f7429e6a502e222f5d44be31980a87503 /src/jsifier.js | |
parent | aa1c42a298a568f2910cb0a184824763016ce64f (diff) |
support function pointer calls across asm modules by passing them all through invoke (for now), and have a global function table in the Runtime, which modules register their functions to
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 3a87df45..c3ba6e74 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -1406,6 +1406,7 @@ function JSify(data, functionsOnly, givenFunctions) { assert(ident != 'asm', 'Inline assembly cannot be compiled to JavaScript!'); if (ASM_JS && funcData.setjmpTable) forceByPointer = true; // in asm.js mode, we must do an invoke for each call + if (ASM_JS && DLOPEN_SUPPORT) invoke = true; // go through invoke so we can access other modules TODO: optimize ident = Variables.resolveAliasToIdent(ident); var shortident = ident.slice(1); |