File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
SwiftCompilerSources/Sources/Optimizer/ModulePasses Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ fileprivate struct FunctionWorklist {
312
312
}
313
313
314
314
mutating func addAllNonGenericFunctions( of moduleContext: ModulePassContext ) {
315
- for f in moduleContext. functions where f. isGenericFunction {
315
+ for f in moduleContext. functions where ! f. isGenericFunction {
316
316
pushIfNotVisited ( f)
317
317
}
318
318
return
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ struct BridgedFunction {
261
261
}
262
262
263
263
bool isGenericFunction () const {
264
- return getFunction ()->getGenericSignature ().isNull ();
264
+ return ! getFunction ()->getGenericSignature ().isNull ();
265
265
}
266
266
267
267
bool hasSemanticsAttr (llvm::StringRef attrName) const {
You can’t perform that action at this time.
0 commit comments