@@ -640,12 +640,11 @@ class AliasSummary : public GlobalValueSummary {
640
640
// / memory for time). Note that this pointer may be null (and the value info
641
641
// / empty) when we have a distributed index where the alias is being imported
642
642
// / (as a copy of the aliasee), but the aliasee is not.
643
- GlobalValueSummary *AliaseeSummary;
643
+ GlobalValueSummary *AliaseeSummary = nullptr ;
644
644
645
645
public:
646
646
AliasSummary (GVFlags Flags)
647
- : GlobalValueSummary(AliasKind, Flags, SmallVector<ValueInfo, 0 >{}),
648
- AliaseeSummary (nullptr ) {}
647
+ : GlobalValueSummary(AliasKind, Flags, SmallVector<ValueInfo, 0 >{}) {}
649
648
650
649
// / Check if this is an alias summary.
651
650
static bool classof (const GlobalValueSummary *GVS) {
@@ -1420,7 +1419,7 @@ class ModuleSummaryIndex {
1420
1419
// used except in the case of a SamplePGO partial profile, and should be
1421
1420
// reevaluated/redesigned to allow more effective incremental builds in that
1422
1421
// case.
1423
- uint64_t BlockCount;
1422
+ uint64_t BlockCount = 0 ;
1424
1423
1425
1424
// List of unique stack ids (hashes). We use a 4B index of the id in the
1426
1425
// stack id lists on the alloc and callsite summaries for memory savings,
@@ -1446,7 +1445,7 @@ class ModuleSummaryIndex {
1446
1445
ModuleSummaryIndex (bool HaveGVs, bool EnableSplitLTOUnit = false ,
1447
1446
bool UnifiedLTO = false )
1448
1447
: HaveGVs(HaveGVs), EnableSplitLTOUnit(EnableSplitLTOUnit),
1449
- UnifiedLTO (UnifiedLTO), Saver(Alloc), BlockCount( 0 ) {}
1448
+ UnifiedLTO (UnifiedLTO), Saver(Alloc) {}
1450
1449
1451
1450
// Current version for the module summary in bitcode files.
1452
1451
// The BitcodeSummaryVersion should be bumped whenever we introduce changes
0 commit comments