summaryrefslogtreecommitdiff
path: root/src/wasm-delegations-fields.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-delegations-fields.h')
-rw-r--r--src/wasm-delegations-fields.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/wasm-delegations-fields.h b/src/wasm-delegations-fields.h
index 60e14d0c5..ad137e58d 100644
--- a/src/wasm-delegations-fields.h
+++ b/src/wasm-delegations-fields.h
@@ -484,10 +484,11 @@ switch (DELEGATE_ID) {
DELEGATE_END(RefNull);
break;
}
- case Expression::Id::RefIsNullId: {
- DELEGATE_START(RefIsNull);
- DELEGATE_FIELD_CHILD(RefIsNull, value);
- DELEGATE_END(RefIsNull);
+ case Expression::Id::RefIsId: {
+ DELEGATE_START(RefIs);
+ DELEGATE_FIELD_INT(RefIs, op);
+ DELEGATE_FIELD_CHILD(RefIs, value);
+ DELEGATE_END(RefIs);
break;
}
case Expression::Id::RefFuncId: {