[llvm] r263500 - Remove code added for debugging purposes. NFC.
Easwaran Raman via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 15:23:29 PDT 2016
Author: eraman
Date: Mon Mar 14 17:23:28 2016
New Revision: 263500
URL: http://llvm.org/viewvc/llvm-project?rev=263500&view=rev
Log:
Remove code added for debugging purposes. NFC.
Modified:
llvm/trunk/unittests/ProfileData/InstrProfTest.cpp
Modified: llvm/trunk/unittests/ProfileData/InstrProfTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ProfileData/InstrProfTest.cpp?rev=263500&r1=263499&r2=263500&view=diff
==============================================================================
--- llvm/trunk/unittests/ProfileData/InstrProfTest.cpp (original)
+++ llvm/trunk/unittests/ProfileData/InstrProfTest.cpp Mon Mar 14 17:23:28 2016
@@ -154,7 +154,7 @@ TEST_F(InstrProfTest, get_profile_summar
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_summar
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;
}
More information about the llvm-commits
mailing list