Skip to content

Commit 0f1beed

Browse files
committed
Reenable load-borrow checker.
1 parent 8e3fb44 commit 0f1beed

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/SIL/Verifier/LoadBorrowImmutabilityChecker.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -313,11 +313,6 @@ bool LoadBorrowImmutabilityAnalysis::isImmutableInScope(
313313
//===----------------------------------------------------------------------===//
314314

315315
bool LoadBorrowImmutabilityAnalysis::isImmutable(LoadBorrowInst *lbi) {
316-
// Find either the enclosing access scope or a single base address.
317-
318-
// FIXME: To be reenabled separately in a follow-on commit.
319-
return true;
320-
321316
AccessPath accessPath = AccessPath::computeInScope(lbi->getOperand());
322317
// Bail on an invalid AccessPath. AccessPath completeness is verified
323318
// independently--it may be invalid in extraordinary situations. When

0 commit comments

Comments
 (0)