We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e3fb44 commit 0f1beedCopy full SHA for 0f1beed
lib/SIL/Verifier/LoadBorrowImmutabilityChecker.cpp
@@ -313,11 +313,6 @@ bool LoadBorrowImmutabilityAnalysis::isImmutableInScope(
313
//===----------------------------------------------------------------------===//
314
315
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
321
AccessPath accessPath = AccessPath::computeInScope(lbi->getOperand());
322
// Bail on an invalid AccessPath. AccessPath completeness is verified
323
// independently--it may be invalid in extraordinary situations. When
0 commit comments