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