Skip to content

Commit fecdc14

Browse files
committed
review
1 parent 8875f9e commit fecdc14

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRunCodegenNodeFactory.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,8 +1283,7 @@ public bool CanBeInGenericCycle(MethodDesc method)
12831283
return false;
12841284

12851285
MethodDesc methodDefinition = method.GetTypicalMethodDefinition();
1286-
return _genericCycleDetector.CanBeInCycle(methodDefinition)
1287-
|| _genericCycleDetector.CanBeInCycle(methodDefinition.OwningType);
1286+
return _genericCycleDetector.CanBeInCycle(methodDefinition);
12881287
}
12891288

12901289
public Utf8String GetSymbolAlternateName(ISymbolNode node, out bool isHidden)

0 commit comments

Comments
 (0)