1 write to CompilationCurrentPhase
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
1397
CompilationCurrentPhase
= newPhase;
11 references to CompilationCurrentPhase
ILCompiler.ReadyToRun (11)
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (2)
123
if (context.
CompilationCurrentPhase
> 1)
129
_lateTriggeredCompilation = context.
CompilationCurrentPhase
!= 0;
Compiler\DependencyAnalysis\ReadyToRun\TypeFixupSignature.cs (2)
211
(factory.
CompilationCurrentPhase
== 0) &&
231
if (factory.OptimizationFlags.OptimizeAsyncMethods && type.GetTypeDefinition() == context.AsyncStateMachineBoxType && !type.IsGenericDefinition && factory.
CompilationCurrentPhase
<= 7)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
242
if (
CompilationCurrentPhase
!= 0)
Compiler\ReadyToRunCodegenCompilation.cs (6)
811
if (!_directManagedHelpersInitialized && _nodeFactory.
CompilationCurrentPhase
== 0)
846
if (_nodeFactory.
CompilationCurrentPhase
== 2)
1152
_logger.Writer.WriteLine($"Moved to phase {_nodeFactory.
CompilationCurrentPhase
}");
1153
deferredPhaseNode.NotifyCurrentPhase(_nodeFactory.
CompilationCurrentPhase
);
1158
Debug.Assert((_nodeFactory.
CompilationCurrentPhase
== 0) || ((_nodeFactory.
CompilationCurrentPhase
== 2) && !_finishedFirstCompilationRunInPhase2));