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.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp
index ac76a63ac..cbf573950 100644
--- a/src/wasm/wasm.cpp
+++ b/src/wasm/wasm.cpp
@@ -973,12 +973,10 @@ void MemoryGrow::finalize() {
void RefNull::finalize(HeapType heapType) { type = Type(heapType, true); }
void RefNull::finalize(Type type_) {
- assert(type_ == Type::unreachable || type_.isNullable());
type = type_;
}
void RefNull::finalize() {
- assert(type == Type::unreachable || type.isNullable());
}
void RefIsNull::finalize() {