Skip to content

Commit 717b017

Browse files
committed
Remove redundant code used for debugging. (NFC)
1 parent 58e2b0d commit 717b017

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/swift/SIL/SILCloner.h

-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ class SILCloner : protected SILVisitor<ImplClass> {
8888
return asImpl().remapLocation(Loc);
8989
}
9090
const SILDebugScope *getOpScope(const SILDebugScope *DS) {
91-
if (DS && !asImpl().remapScope(DS))
92-
asImpl().remapScope(DS);
9391
return asImpl().remapScope(DS);
9492
}
9593
Substitution getOpSubstitution(Substitution sub) {

0 commit comments

Comments
 (0)