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.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/wasm-delegations-fields.h b/src/wasm-delegations-fields.h
index b0be5844c..d4ea25b3d 100644
--- a/src/wasm-delegations-fields.h
+++ b/src/wasm-delegations-fields.h
@@ -588,12 +588,13 @@ switch (DELEGATE_ID) {
DELEGATE_END(RefCast);
break;
}
- case Expression::Id::BrOnCastId: {
- DELEGATE_START(BrOnCast);
- DELEGATE_FIELD_SCOPE_NAME_USE(BrOnCast, name);
- DELEGATE_FIELD_CHILD(BrOnCast, rtt);
- DELEGATE_FIELD_CHILD(BrOnCast, ref);
- DELEGATE_END(BrOnCast);
+ case Expression::Id::BrOnId: {
+ DELEGATE_START(BrOn);
+ DELEGATE_FIELD_INT(BrOn, op);
+ DELEGATE_FIELD_SCOPE_NAME_USE(BrOn, name);
+ DELEGATE_FIELD_OPTIONAL_CHILD(BrOn, rtt);
+ DELEGATE_FIELD_CHILD(BrOn, ref);
+ DELEGATE_END(BrOn);
break;
}
case Expression::Id::RttCanonId: {