summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2018-02-02 18:47:10 -0800
committerGitHub <noreply@github.com>2018-02-02 18:47:10 -0800
commit6b05f000e8b9249afd0838774b6bdaf64fcaf90a (patch)
treeac9c331c10c72da23429dcd64a47b47bc40aa34b /src/shell-interface.h
parentc81857a3a7708738b20bb28a320fc971e74626a7 (diff)
downloadbinaryen-6b05f000e8b9249afd0838774b6bdaf64fcaf90a.tar.gz
binaryen-6b05f000e8b9249afd0838774b6bdaf64fcaf90a.tar.bz2
binaryen-6b05f000e8b9249afd0838774b6bdaf64fcaf90a.zip
Rename WasmType => Type (#1398)
* rename WasmType to Type. it's in the wasm:: namespace anyhow, and without Wasm- it fits in better alongside Index, Address, Expression, Module, etc.
Diffstat (limited to 'src/shell-interface.h')
-rw-r--r--src/shell-interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell-interface.h b/src/shell-interface.h
index 53a954aef..e41d9de24 100644
--- a/src/shell-interface.h
+++ b/src/shell-interface.h
@@ -146,7 +146,7 @@ struct ShellExternalInterface final : ModuleInstance::ExternalInterface {
<< import->name.str;
}
- Literal callTable(Index index, LiteralList& arguments, WasmType result, ModuleInstance& instance) override {
+ Literal callTable(Index index, LiteralList& arguments, Type result, ModuleInstance& instance) override {
if (index >= table.size()) trap("callTable overflow");
auto* func = instance.wasm.getFunctionOrNull(table[index]);
if (!func) trap("uninitialized table element");