From dc8f514bfa4617861b51b6cef23af73464d3b650 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 3 Mar 2023 08:05:03 -0800 Subject: getHeapTypeCounts() must note select types for references (#5540) Without this we hit an assertion on trying to write the binary, on a missing heap type. --- test/lit/passes/gufa-vs-cfp.wast | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/lit/passes') diff --git a/test/lit/passes/gufa-vs-cfp.wast b/test/lit/passes/gufa-vs-cfp.wast index 0a678af4f..a2fb8f5df 100644 --- a/test/lit/passes/gufa-vs-cfp.wast +++ b/test/lit/passes/gufa-vs-cfp.wast @@ -679,12 +679,12 @@ ;; Subtyping: Create both a subtype and a supertype, with identical constants ;; for the shared field, and get the supertype. (module + ;; CHECK: (type $struct (struct (field i32))) + (type $struct (struct i32)) ;; CHECK: (type $none_=>_i32 (func (result i32))) ;; CHECK: (type $none_=>_none (func)) - ;; CHECK: (type $struct (struct (field i32))) - (type $struct (struct i32)) ;; CHECK: (type $substruct (struct_subtype (field i32) (field f64) $struct)) (type $substruct (struct_subtype i32 f64 $struct)) -- cgit v1.2.3