diff options
| author | Easwaran Raman <eraman@google.com> | 2016-03-14 22:23:28 +0000 |
|---|---|---|
| committer | Easwaran Raman <eraman@google.com> | 2016-03-14 22:23:28 +0000 |
| commit | f9709ee0013e6d936cc2c4822ab148a904444250 (patch) | |
| tree | a896caecd519096fa0d0ff6b578a58d86acea99f | |
| parent | bef55ac8f54fc62369af35483ab69f8d0676050d (diff) | |
| download | bcm5719-llvm-f9709ee0013e6d936cc2c4822ab148a904444250.tar.gz bcm5719-llvm-f9709ee0013e6d936cc2c4822ab148a904444250.zip | |
Remove code added for debugging purposes. NFC.
llvm-svn: 263500
| -rw-r--r-- | llvm/unittests/ProfileData/InstrProfTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/ProfileData/InstrProfTest.cpp b/llvm/unittests/ProfileData/InstrProfTest.cpp index 46e493ebfd7..34bb1f295fe 100644 --- a/llvm/unittests/ProfileData/InstrProfTest.cpp +++ b/llvm/unittests/ProfileData/InstrProfTest.cpp @@ -154,7 +154,7 @@ TEST_F(InstrProfTest, get_profile_summary) { auto Profile = Writer.writeBuffer(); readProfile(std::move(Profile)); - auto VerifySummary = [](InstrProfSummary &IPS, bool dummy) mutable { + auto VerifySummary = [](InstrProfSummary &IPS) mutable { ASSERT_EQ(2305843009213693952U, IPS.getMaxFunctionCount()); ASSERT_EQ(2305843009213693952U, IPS.getMaxBlockCount()); ASSERT_EQ(10U, IPS.getNumBlocks()); @@ -179,14 +179,14 @@ TEST_F(InstrProfTest, get_profile_summary) { ASSERT_EQ(72057594037927936U, NinetyNinePerc->MinCount); }; InstrProfSummary &PS = Reader->getSummary(); - VerifySummary(PS, true); + VerifySummary(PS); Metadata *MD = PS.getMD(getGlobalContext()); ASSERT_TRUE(MD); ProfileSummary *PSFromMD = ProfileSummary::getFromMD(MD); ASSERT_TRUE(PSFromMD); ASSERT_TRUE(isa<InstrProfSummary>(PSFromMD)); InstrProfSummary *IPS = cast<InstrProfSummary>(PSFromMD); - VerifySummary(*IPS, false); + VerifySummary(*IPS); delete IPS; } |

