summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/module-utils.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ir/module-utils.cpp b/src/ir/module-utils.cpp
index 8ad127086..da2d7bb9f 100644
--- a/src/ir/module-utils.cpp
+++ b/src/ir/module-utils.cpp
@@ -516,11 +516,7 @@ InsertOrderedMap<HeapType, size_t> getHeapTypeCounts(Module& wasm,
if (auto super = ht.getDeclaredSuperType()) {
if (!counts.counts.count(*super)) {
noteNewType(*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.include(*super);
+ counts.note(*super);
}
}