1 write to CompilationCurrentPhase
ILCompiler.ReadyToRun (1)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
1348CompilationCurrentPhase = newPhase;
11 references to CompilationCurrentPhase
ILCompiler.ReadyToRun (11)
Compiler\DependencyAnalysis\ReadyToRun\MethodWithGCInfo.cs (2)
49if (context.CompilationCurrentPhase > 1) 55_lateTriggeredCompilation = context.CompilationCurrentPhase != 0;
Compiler\DependencyAnalysis\ReadyToRun\TypeFixupSignature.cs (2)
211(factory.CompilationCurrentPhase == 0) && 231if (factory.OptimizationFlags.OptimizeAsyncMethods && type.GetTypeDefinition() == context.AsyncStateMachineBoxType && !type.IsGenericDefinition && factory.CompilationCurrentPhase <= 7)
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (1)
230if (CompilationCurrentPhase != 0)
Compiler\ReadyToRunCodegenCompilation.cs (6)
801if (!_directManagedHelpersInitialized && _nodeFactory.CompilationCurrentPhase == 0) 834if (_nodeFactory.CompilationCurrentPhase == 2) 1136_logger.Writer.WriteLine($"Moved to phase {_nodeFactory.CompilationCurrentPhase}"); 1137deferredPhaseNode.NotifyCurrentPhase(_nodeFactory.CompilationCurrentPhase); 1142Debug.Assert((_nodeFactory.CompilationCurrentPhase == 0) || ((_nodeFactory.CompilationCurrentPhase == 2) && !_finishedFirstCompilationRunInPhase2));