mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Optimizer: fix spelling of the Simplifiable protocol
Rename `Simplifyable` -> `Simplifiable` NFC
This commit is contained in:
@@ -95,7 +95,7 @@ private func optimize(function: Function, _ context: FunctionPassContext, _ modu
|
||||
var changed = true
|
||||
while changed {
|
||||
changed = runSimplification(on: function, context, preserveDebugInfo: true) { instruction, simplifyCtxt in
|
||||
if let i = instruction as? OnoneSimplifyable {
|
||||
if let i = instruction as? OnoneSimplifiable {
|
||||
i.simplify(simplifyCtxt)
|
||||
if instruction.isDeleted {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user