summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index e68fd5ef2..d5e94a25b 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -162,7 +162,6 @@ public:
auto* ret = allocator.alloc<SetGlobal>();
ret->index = index;
ret->value = value;
- ret->type = value->type;
return ret;
}
Load* makeLoad(unsigned bytes, bool signed_, uint32_t offset, unsigned align, Expression *ptr, WasmType type) {