diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/wasm-interpreter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index a4af4729d..ed6411258 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -110,7 +110,7 @@ public: } Literal callExport(Name name, LiteralList& arguments) { - Export *export_ = wasm.getExport(name); + Export *export_ = wasm.checkExport(name); if (!export_) externalInterface->trap("callExport not found"); return callFunction(export_->value, arguments); } |