summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 59e5115dd..99a68cf12 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -1404,6 +1404,7 @@ public:
case BinaryConsts::F64Const: curr->value.f64 = getFloat64(); curr->type = f64; break;
default: return false;
}
+ curr->value.type = curr->type;
if (debug) std::cerr << "zz node: Const" << std::endl;
return true;
}