Skip to content

Commit 47076ca

Browse files
authored
[NFC] Removed unused member from HeapTypeGenerator (#7680)
1 parent 872a3bf commit 47076ca

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/tools/fuzzing/heap-types.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ struct HeapTypeGeneratorImpl {
5757
FuzzParams params;
5858

5959
HeapTypeGeneratorImpl(Random& rand, FeatureSet features, size_t n)
60-
: result{TypeBuilder(n),
61-
std::vector<std::vector<Index>>(n),
62-
std::vector<std::optional<Index>>(n)},
60+
: result{TypeBuilder(n), std::vector<std::vector<Index>>(n)},
6361
builder(result.builder), subtypeIndices(result.subtypeIndices),
6462
supertypeIndices(n), rand(rand), features(features) {
6563
// Set up the subtype relationships. Start with some number of root types,

src/tools/fuzzing/heap-types.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ struct HeapTypeGenerator {
3232
// The intended subtypes of each built type.
3333
std::vector<std::vector<Index>> subtypeIndices;
3434

35-
// The intended supertype of each built type, if any.
36-
std::vector<std::optional<Index>> supertypeIndices;
37-
3835
// Create a populated `HeapTypeGenerator` with `n` random HeapTypes with
3936
// interesting subtyping.
4037
static HeapTypeGenerator create(Random& rand, FeatureSet features, size_t n);

0 commit comments

Comments
 (0)