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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/fuzzing/fuzzing.cpp b/src/tools/fuzzing/fuzzing.cpp
index 22006a6a1..01196540b 100644
--- a/src/tools/fuzzing/fuzzing.cpp
+++ b/src/tools/fuzzing/fuzzing.cpp
@@ -3045,6 +3045,8 @@ HeapType TranslateToFuzzReader::getSubType(HeapType type) {
HeapType::data));
case HeapType::eq:
// TODO: nontrivial types as well.
+ assert(wasm.features.hasReferenceTypes());
+ assert(wasm.features.hasGC());
return pick(HeapType::eq, HeapType::i31, HeapType::data);
case HeapType::i31:
return HeapType::i31;