Skip to content

Commit 7ce7194

Browse files
mingmingl-llvmsivan-shani
authored andcommitted
1 parent f922a35 commit 7ce7194

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/ProfileData/SampleProfReader.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,6 @@ std::error_code SampleProfileReaderText::readImpl() {
411411
break;
412412
}
413413
case LineType::BodyProfile: {
414-
while (InlineStack.size() > Depth) {
415-
InlineStack.pop_back();
416-
}
417414
FunctionSamples &FProfile = *InlineStack.back();
418415
for (const auto &name_count : TargetCountMap) {
419416
mergeSampleProfErrors(Result, FProfile.addCalledTargetSamples(

0 commit comments

Comments
 (0)