mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename PrunedLiveness.clear() to invalidate()
Because SILBitfield cannot be cleared.
This commit is contained in:
@@ -1292,7 +1292,7 @@ struct GatherUsesVisitor : public AccessUseVisitor {
|
||||
|
||||
/// Returns true if we emitted an error.
|
||||
bool checkForExclusivityHazards(LoadInst *li) {
|
||||
SWIFT_DEFER { liveness.clear(); };
|
||||
SWIFT_DEFER { liveness.invalidate(); };
|
||||
|
||||
LLVM_DEBUG(llvm::dbgs() << "Checking for exclusivity hazards for: " << *li);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user