summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r--src/shell-interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h
index ef92f40cd..1dcbe4c28 100644
--- a/src/shell-interface.h
+++ b/src/shell-interface.h
@@ -142,8 +142,8 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface {
std::cout << "exit()\n";
throw ExitException();
}
- std::cout << "callImport " << import->name.str << "\n";
- WASM_UNREACHABLE();
+ Fatal() << "callImport: unknown import: " << import->module.str << "."
+ << import->name.str;
}
Literal callTable(Index index, LiteralList& arguments, WasmType result, ModuleInstance& instance) override {