diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-11-06 10:24:13 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-11-06 10:24:13 -0800 |
commit | 40a7faed41cfb05d7d877878e14a553457e284b1 (patch) | |
tree | ad66dc63a5ddd860ab4867554228e0e2d5c8ff37 /src/wasm-shell.cpp | |
parent | d1d4442df4388bdcfd283a2cfb789ddce4834ef8 (diff) | |
download | binaryen-40a7faed41cfb05d7d877878e14a553457e284b1.tar.gz binaryen-40a7faed41cfb05d7d877878e14a553457e284b1.tar.bz2 binaryen-40a7faed41cfb05d7d877878e14a553457e284b1.zip |
call exports, not functions, from the outside
Diffstat (limited to 'src/wasm-shell.cpp')
-rw-r--r-- | src/wasm-shell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } }; |