internal void PreCompile()
{
foreach (ICompilerStage stage in CompilePipeline)
{
stage.Initialize(this);
}
foreach (ICompilerStage stage in CompilePipeline)
{
NewCompilerTraceEvent(CompilerEvent.PreCompileStageStart, stage.Name);
// Execute stage
stage.ExecutePreCompile();
NewCompilerTraceEvent(CompilerEvent.PreCompileStageEnd, stage.Name);
}
}