summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index a4dd60532..7ea9a521e 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -969,7 +969,6 @@ private:
auto ret = allocator.alloc<SetGlobal>();
ret->index = getGlobalIndex(*s[1]);
ret->value = parseExpression(s[2]);
- ret->type = wasm.getGlobal(ret->index)->type;
return ret;
}