Skip to content

Commit 0d91b89

Browse files
authored
Merge pull request #13145 from adrian-prantl/25772716
2 parents 66f8a9b + 64425c8 commit 0d91b89

File tree

2 files changed

+0
-39
lines changed

2 files changed

+0
-39
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,14 +1632,6 @@ void IRGenSILFunction::visitSILBasicBlock(SILBasicBlock *BB) {
16321632
DominanceScope dominance(*this, InEntryBlock ? DominancePoint::universal()
16331633
: DominancePoint(BB));
16341634

1635-
// The basic blocks are visited in a random order. Reset the debug location.
1636-
std::unique_ptr<AutoRestoreLocation> ScopedLoc;
1637-
if (InEntryBlock)
1638-
ScopedLoc = llvm::make_unique<PrologueLocation>(IGM.DebugInfo, Builder);
1639-
else
1640-
ScopedLoc = llvm::make_unique<ArtificialLocation>(
1641-
CurSILFn->getDebugScope(), IGM.DebugInfo, Builder);
1642-
16431635
// Generate the body.
16441636
bool InCleanupBlock = false;
16451637
bool KeepCurrentLocation = false;

test/DebugInfo/bbentry-location.swift

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)