From 40a7faed41cfb05d7d877878e14a553457e284b1 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 6 Nov 2015 10:24:13 -0800 Subject: call exports, not functions, from the outside --- src/wasm-shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-shell.cpp') diff --git a/src/wasm-shell.cpp b/src/wasm-shell.cpp index 5f9fafd8f..8577b827e 100644 --- a/src/wasm-shell.cpp +++ b/src/wasm-shell.cpp @@ -133,7 +133,7 @@ struct Invocation { } Literal invoke() { - return instance->callFunction(name, arguments); + return instance->callExport(name, arguments); } }; -- cgit v1.2.3