[CodeGenPGO] Fix shadow variable warning. NFC.

This commit is contained in:
Simon Pilgrim 2020-03-02 13:58:21 +00:00
parent 736385c0b4
commit dc8680eceb
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ private:
uint64_t CurrentRegionCount;
public:
CodeGenPGO(CodeGenModule &CGM)
: CGM(CGM), FuncNameVar(nullptr), NumValueSites({{0}}),
CodeGenPGO(CodeGenModule &CGModule)
: CGM(CGModule), FuncNameVar(nullptr), NumValueSites({{0}}),
NumRegionCounters(0), FunctionHash(0), CurrentRegionCount(0) {}
/// Whether or not we have PGO region data for the current function. This is