mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] SwiftCompilerSources: add a correctly named filterUsers API
Rename existing filterUsers to filterUses.
This commit is contained in:
@@ -365,7 +365,7 @@ private struct StackProtectionOptimization {
|
||||
let builder = Builder(after: beginAccess, location: beginAccess.location.asAutoGenerated, context)
|
||||
let temporary = builder.createAllocStack(beginAccess.type)
|
||||
|
||||
beginAccess.uses.ignoreUsers(ofType: EndAccessInst.self).replaceAll(with: temporary, context)
|
||||
beginAccess.uses.ignoreUses(ofType: EndAccessInst.self).replaceAll(with: temporary, context)
|
||||
|
||||
for endAccess in beginAccess.endInstructions {
|
||||
let endBuilder = Builder(before: endAccess, location: endAccess.location.asAutoGenerated, context)
|
||||
|
||||
Reference in New Issue
Block a user