diff options
Diffstat (limited to 'src/ir/module-utils.h')
-rw-r--r-- | src/ir/module-utils.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ir/module-utils.h b/src/ir/module-utils.h index 2cbab414b..d916f51a2 100644 --- a/src/ir/module-utils.h +++ b/src/ir/module-utils.h @@ -569,8 +569,12 @@ inline void collectHeapTypes(Module& wasm, if (ht.getSuperType(super)) { if (!counts.count(super)) { newTypes.insert(super); + // We should unconditionally count supertypes, but while the type system + // is in flux, skip counting them to keep the type orderings in nominal + // test outputs more similar to the orderings in the equirecursive + // outputs. FIXME + counts.note(super); } - counts.note(super); } } |