summaryrefslogtreecommitdiff
path: root/src/passes/RemoveImports.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@chromium.org>2016-01-13 10:48:44 -0800
committerJF Bastien <jfb@chromium.org>2016-01-13 10:48:44 -0800
commit80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575 (patch)
treed6dc07b081ed5c7e3a44bf1827c9b7d285d1a456 /src/passes/RemoveImports.cpp
parent2a0404579a2c061a965e2ac032801e250ab7f2bc (diff)
parent3da40ef949ddfac78df2db33e6b35e14f54cb78c (diff)
downloadbinaryen-80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575.tar.gz
binaryen-80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575.tar.bz2
binaryen-80d0b8eb31b1bb15ecd2245ef6ad57ca4d3a2575.zip
Merge branch 'master' of github.com:WebAssembly/binaryen
Diffstat (limited to 'src/passes/RemoveImports.cpp')
-rw-r--r--src/passes/RemoveImports.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/RemoveImports.cpp b/src/passes/RemoveImports.cpp
index 44b7fc1ed..0c4924a45 100644
--- a/src/passes/RemoveImports.cpp
+++ b/src/passes/RemoveImports.cpp
@@ -37,7 +37,7 @@ struct RemoveImports : public Pass {
}
void visitCallImport(CallImport *curr) override {
- WasmType type = importsMap[curr->target]->type.result;
+ WasmType type = importsMap[curr->target]->type->result;
if (type == none) {
replaceCurrent(allocator->alloc<Nop>());
} else {