summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm.h b/src/wasm.h
index dff0bcd5a..049dc2e30 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1022,6 +1022,10 @@ public:
ExpressionList operands;
FunctionType *fullType;
Expression *target;
+
+ void finalize() {
+ type = fullType->result;
+ }
};
class GetLocal : public SpecificExpression<Expression::GetLocalId> {