aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js1
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);