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 {
312312 }
313313
314314 mutating func addAllNonGenericFunctions( of moduleContext: ModulePassContext ) {
315- for f in moduleContext. functions where f. isGenericFunction {
315+ for f in moduleContext. functions where ! f. isGenericFunction {
316316 pushIfNotVisited ( f)
317317 }
318318 return
Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ struct BridgedFunction {
261261 }
262262
263263 bool isGenericFunction () const {
264- return getFunction ()->getGenericSignature ().isNull ();
264+ return ! getFunction ()->getGenericSignature ().isNull ();
265265 }
266266
267267 bool hasSemanticsAttr (llvm::StringRef attrName) const {
You can’t perform that action at this time.
0 commit comments