Skip to content

Commit eb79e34

Browse files
1 parent 15c3ade commit eb79e34

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)