1 write to CompilationCurrentPhase
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
1160
CompilationCurrentPhase
= newPhase;
11 references to CompilationCurrentPhase
ILCompiler.ReadyToRun (11)
Compiler\DependencyAnalysis\ReadyToRun\GenericLookupSignature.cs (1)
151
(factory.
CompilationCurrentPhase
== 0) &&
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (2)
48
if (context.
CompilationCurrentPhase
> 1)
54
_lateTriggeredCompilation = context.
CompilationCurrentPhase
!= 0;
Compiler\DependencyAnalysis\ReadyToRun\TypeFixupSignature.cs (3)
210
(factory.
CompilationCurrentPhase
== 0) &&
222
(factory.
CompilationCurrentPhase
== 0) &&
241
if (factory.OptimizationFlags.OptimizeAsyncMethods && type.GetTypeDefinition() == context.AsyncStateMachineBoxType && !type.IsGenericDefinition && factory.
CompilationCurrentPhase
<= 7)
Compiler\ReadyToRunCodegenCompilation.cs (5)
782
if (_nodeFactory.
CompilationCurrentPhase
== 2)
929
_logger.Writer.WriteLine($"Moved to phase {_nodeFactory.
CompilationCurrentPhase
}");
930
deferredPhaseNode.NotifyCurrentPhase(_nodeFactory.
CompilationCurrentPhase
);
935
Debug.Assert((_nodeFactory.
CompilationCurrentPhase
== 0) || ((_nodeFactory.
CompilationCurrentPhase
== 2) && !_finishedFirstCompilationRunInPhase2));