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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wasm-delegations-fields.h b/src/wasm-delegations-fields.h
index 7f6e43d75..ca0a8f7cb 100644
--- a/src/wasm-delegations-fields.h
+++ b/src/wasm-delegations-fields.h
@@ -549,6 +549,14 @@ switch (DELEGATE_ID) {
DELEGATE_END(I31Get);
break;
}
+ case Expression::Id::CallRefId: {
+ DELEGATE_START(CallRef);
+ DELEGATE_FIELD_CHILD(CallRef, target);
+ DELEGATE_FIELD_CHILD_VECTOR(CallRef, operands);
+ DELEGATE_FIELD_INT(CallRef, isReturn);
+ DELEGATE_END(CallRef);
+ break;
+ }
case Expression::Id::RefTestId: {
DELEGATE_START(RefTest);
WASM_UNREACHABLE("TODO (gc): ref.test");