summaryrefslogtreecommitdiff
path: root/src/wasm/wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r--src/wasm/wasm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index ec53ab25a..20b075fd1 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -371,6 +371,10 @@ Const* Const::set(Literal value_) {
return this;
}
+void Const::finalize() {
+ type = value.type;
+}
+
bool Unary::isRelational() {
return op == EqZInt32 || op == EqZInt64;
}