Skip to content

Commit efd8f08

Browse files
committed
[embedded] Add notifyCallsChanged() to specializeClassMethodInst
1 parent f0c8a59 commit efd8f08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

SwiftCompilerSources/Sources/Optimizer/PassManager/Context.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ struct FunctionPassContext : MutatingContext {
277277
func specializeClassMethodInst(_ cm: ClassMethodInst) -> Bool {
278278
if _bridged.specializeClassMethodInst(cm.bridged) {
279279
notifyInstructionsChanged()
280+
notifyCallsChanged()
280281
return true
281282
}
282283
return false

0 commit comments

Comments
 (0)