summaryrefslogtreecommitdiff
path: root/src/wasm-interpreter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-interpreter.h')
-rw-r--r--src/wasm-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h
index 0de04712a..c2faa1df4 100644
--- a/src/wasm-interpreter.h
+++ b/src/wasm-interpreter.h
@@ -232,7 +232,7 @@ public:
LiteralList arguments;
Flow flow = generateArguments(curr->operands, arguments);
if (flow.breaking()) return flow;
- return instance.externalInterface->callImport(&instance.wasm.imports[curr->target], arguments);
+ return instance.externalInterface->callImport(instance.wasm.importsMap[curr->target], arguments);
}
Flow visitCallIndirect(CallIndirect *curr) override {
NOTE_ENTER("CallIndirect");