1 write to CompilationCurrentPhase
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
1348
CompilationCurrentPhase
= newPhase;
11 references to CompilationCurrentPhase
ILCompiler.ReadyToRun (11)
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (2)
49
if (context.
CompilationCurrentPhase
> 1)
55
_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)
230
if (
CompilationCurrentPhase
!= 0)
Compiler\ReadyToRunCodegenCompilation.cs (6)
801
if (!_directManagedHelpersInitialized && _nodeFactory.
CompilationCurrentPhase
== 0)
834
if (_nodeFactory.
CompilationCurrentPhase
== 2)
1136
_logger.Writer.WriteLine($"Moved to phase {_nodeFactory.
CompilationCurrentPhase
}");
1137
deferredPhaseNode.NotifyCurrentPhase(_nodeFactory.
CompilationCurrentPhase
);
1142
Debug.Assert((_nodeFactory.
CompilationCurrentPhase
== 0) || ((_nodeFactory.
CompilationCurrentPhase
== 2) && !_finishedFirstCompilationRunInPhase2));