Skip to content

Commit 52ed238

Browse files
committed
Enable a previously commented assertion.
rdar://problem/22035399
1 parent 806ee1d commit 52ed238

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/IRGen/IRGenSIL.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,8 +1509,7 @@ void IRGenSILFunction::visitSILBasicBlock(SILBasicBlock *BB) {
15091509
if (!DS) {
15101510
if (CurSILFn->isBare())
15111511
DS = CurSILFn->getDebugScope();
1512-
// FIXME: Enable this assertion.
1513-
//assert(maybeScopeless(I) && "instruction has location, but no scope");
1512+
assert(maybeScopeless(I) && "instruction has location, but no scope");
15141513
}
15151514

15161515
// Ignore scope-less instructions and have IRBuilder reuse the

0 commit comments

Comments
 (0)