From 49fb2e23bb3c932389f23fdda33a32d034ca9a0c Mon Sep 17 00:00:00 2001
From: Thomas Lively <tlively@google.com>
Date: Wed, 21 Dec 2022 11:47:48 -0600
Subject: Support `ref.test null` (#5368)

This new variant of ref.test returns 1 if the input is null.
---
 src/wasm-delegations-fields.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/wasm-delegations-fields.def')

diff --git a/src/wasm-delegations-fields.def b/src/wasm-delegations-fields.def
index dc0a13f41..9c966faec 100644
--- a/src/wasm-delegations-fields.def
+++ b/src/wasm-delegations-fields.def
@@ -614,7 +614,7 @@ switch (DELEGATE_ID) {
   }
   case Expression::Id::RefTestId: {
     DELEGATE_START(RefTest);
-    DELEGATE_FIELD_HEAPTYPE(RefTest, intendedType);
+    DELEGATE_FIELD_TYPE(RefTest, castType);
     DELEGATE_FIELD_CHILD(RefTest, ref);
     DELEGATE_END(RefTest);
     break;
-- 
cgit v1.2.3

