Skip to content

Commit f6e24fa

Browse files
committed
Remove conditional compilation from maybeScopeless, because SILVerifier is not conditionally compiled anymore
1 parent 4133e30 commit f6e24fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/SIL/SILVerifier.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4417,11 +4417,9 @@ void SILModule::verify() const {
44174417
}
44184418
}
44194419

4420-
#ifndef NDEBUG
44214420
/// Determine whether an instruction may not have a SILDebugScope.
44224421
bool swift::maybeScopeless(SILInstruction &I) {
44234422
if (I.getFunction()->isBare())
44244423
return true;
44254424
return !isa<DebugValueInst>(I) && !isa<DebugValueAddrInst>(I);
44264425
}
4427-
#endif

0 commit comments

Comments
 (0)