BranchProbabilityInfo - fix uninitialized variable warning. NFCI.

This commit is contained in:
Simon Pilgrim 2019-11-06 16:26:11 +00:00
parent fd02a46855
commit c447e5d90e
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ private:
DenseMap<Edge, BranchProbability> Probs;
/// Track the last function we run over for printing.
const Function *LastF;
const Function *LastF = nullptr;
/// Track the set of blocks directly succeeded by a returning block.
SmallPtrSet<const BasicBlock *, 16> PostDominatedByUnreachable;