Fix breakage caused by r262360.

llvm-svn: 262363
This commit is contained in:
Easwaran Raman 2016-03-01 18:59:11 +00:00
parent 83fc77b4c0
commit 8832e5e2f5
2 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,7 @@ public:
private:
const Kind PSK;
const char *KindStr[2] = {"InstrProf", "SampleProfile"};
static const char *KindStr[2];
// We keep track of the number of times a count (block count or samples)
// appears in the profile. The map is kept sorted in the descending order of
// counts.

View File

@ -30,6 +30,7 @@ const std::vector<uint32_t> ProfileSummary::DefaultCutoffs(
100000, /* 10% */
200000, 300000, 400000, 500000, 600000, 500000, 600000, 700000, 800000,
900000, 950000, 990000, 999000, 999900, 999990, 999999});
const char *ProfileSummary::KindStr[2] = {"InstrProf", "SampleProfile"};
void InstrProfSummary::addRecord(const InstrProfRecord &R) {
addEntryCount(R.Counts[0]);