コード例 #1
0
 /// <summary>
 /// Extends the compiler setup.
 /// </summary>
 public override void ExtendCompilerSetup()
 {
     CompilePipeline.Add(new ICompilerStage[] {
         new PlugStage(),
         new TypeInitializerSchedulerStage(),
         new MethodLookupTableStage(),
         new MethodExceptionLookupTableStage(),
         new MetadataStage(),
     });
 }
コード例 #2
0
        /// <summary>
        /// Extends the compiler setup.
        /// </summary>
        public override void ExtendCompilerSetup()
        {
            var bootStage = CompilerOptions.BootStageFactory != null?CompilerOptions.BootStageFactory() : null;

            CompilePipeline.Add(new ICompilerStage[] {
                bootStage,
                new PlugStage(),
                new TypeInitializerSchedulerStage(),
                new MethodLookupTableStage(),
                new MethodExceptionLookupTableStage(),
                new MetadataStage(),
                new LinkerFinalizationStage(),
                CompilerOptions.MapFile != null ? new MapFileGenerationStage() : null
            });
        }