diff options
Diffstat (limited to 'src/ir/module-utils.cpp')
-rw-r--r-- | src/ir/module-utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/module-utils.cpp b/src/ir/module-utils.cpp index ed147053b..0da47e811 100644 --- a/src/ir/module-utils.cpp +++ b/src/ir/module-utils.cpp @@ -406,7 +406,7 @@ Counts getHeapTypeCounts(Module& wasm, bool prune = false) { } } - if (auto super = ht.getSuperType()) { + if (auto super = ht.getDeclaredSuperType()) { if (!counts.count(*super)) { newTypes.insert(*super); // We should unconditionally count supertypes, but while the type system |