summaryrefslogtreecommitdiff
path: root/src/tools/fuzzing/fuzzing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fuzzing/fuzzing.cpp')
-rw-r--r--src/tools/fuzzing/fuzzing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp
index f776c1c9d..2e7755848 100644
--- a/src/tools/fuzzing/fuzzing.cpp
+++ b/src/tools/fuzzing/fuzzing.cpp
@@ -766,7 +766,7 @@ void TranslateToFuzzReader::recombine(Function* func) {
while (1) {
ret.push_back(Type(heapType, nullability));
// TODO: handle basic supertypes too
- auto super = heapType.getSuperType();
+ auto super = heapType.getDeclaredSuperType();
if (!super) {
break;
}
@@ -3885,7 +3885,7 @@ HeapType TranslateToFuzzReader::getSuperType(HeapType type) {
std::vector<HeapType> supers;
while (1) {
supers.push_back(type);
- if (auto super = type.getSuperType()) {
+ if (auto super = type.getDeclaredSuperType()) {
type = *super;
} else {
break;