summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-builder.h')
-rw-r--r--src/wasm-builder.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/wasm-builder.h b/src/wasm-builder.h
index 915c189ae..263ee80fd 100644
--- a/src/wasm-builder.h
+++ b/src/wasm-builder.h
@@ -716,9 +716,8 @@ public:
ret->finalize(type);
return ret;
}
- RefIs* makeRefIs(RefIsOp op, Expression* value) {
- auto* ret = wasm.allocator.alloc<RefIs>();
- ret->op = op;
+ RefIsNull* makeRefIsNull(Expression* value) {
+ auto* ret = wasm.allocator.alloc<RefIsNull>();
ret->value = value;
ret->finalize();
return ret;