private TestCaseAssemblyCompiler(IArchitecture architecture, ITypeSystem typeSystem)
     : base(architecture, typeSystem)
 {
     // Build the assembly compiler pipeline
     Pipeline.AddRange(new IAssemblyCompilerStage[] {
         new TypeLayoutStage(),
         new AssemblyMemberCompilationSchedulerStage(),
         new MethodCompilerSchedulerStage(),
         new TestAssemblyLinker(),
     });
     architecture.ExtendAssemblyCompilerPipeline(Pipeline);
 }
 private TestCaseAssemblyCompiler(IArchitecture architecture, IMetadataModule module)
     : base(architecture, module)
 {
     // Build the assembly compiler pipeline
     CompilerPipeline pipeline = this.Pipeline;
     pipeline.AddRange(new IAssemblyCompilerStage[] {
         new TypeLayoutStage(),
         new AssemblyMemberCompilationSchedulerStage(),
         new MethodCompilerSchedulerStage(),
         new TestAssemblyLinker(),
     });
     architecture.ExtendAssemblyCompilerPipeline(pipeline);
 }
Exemplo n.º 3
0
        //private readonly Queue<CCtor> cctorQueue = new Queue<CCtor>();

        //private readonly TestAssemblyLinker linker;

        private CompilerHelper(IArchitecture architecture, ITypeSystem typeSystem, ITypeLayout typeLayout) :
            base(architecture, typeSystem, typeLayout)
        {
            var linker = new LinkerStub();

            // Build the assembly compiler pipeline
            Pipeline.AddRange(new IAssemblyCompilerStage[] {
                new AssemblyMemberCompilationSchedulerStage(),
                new MethodCompilerSchedulerStage(),
                new TypeLayoutStage(),
                linker
            });
            architecture.ExtendAssemblyCompilerPipeline(Pipeline);
        }
Exemplo n.º 4
0
        //private readonly Queue<CCtor> cctorQueue = new Queue<CCtor>();
        //private readonly TestAssemblyLinker linker;
        private CompilerHelper(IArchitecture architecture, ITypeSystem typeSystem, ITypeLayout typeLayout)
            : base(architecture, typeSystem, typeLayout)
        {
            var linker = new LinkerStub();

            // Build the assembly compiler pipeline
            Pipeline.AddRange(new IAssemblyCompilerStage[] {
                new AssemblyMemberCompilationSchedulerStage(),
                new MethodCompilerSchedulerStage(),
                new TypeLayoutStage(),
                linker
            });
            architecture.ExtendAssemblyCompilerPipeline(Pipeline);
        }
        private ExplorerAssemblyCompiler(IArchitecture architecture, ITypeSystem typeSystem, ITypeLayout typeLayout, IInternalTrace internalTrace, CompilerOptions compilerOptions)
            : base(architecture, typeSystem, typeLayout, internalTrace, compilerOptions)
        {
            var linker = new ExplorerLinker();

            // Build the assembly compiler pipeline
            Pipeline.AddRange(new IAssemblyCompilerStage[] {
                new AssemblyMemberCompilationSchedulerStage(),
                new MethodCompilerSchedulerStage(),
                new TypeLayoutStage(),
                linker
            });

            architecture.ExtendAssemblyCompilerPipeline(Pipeline);
        }
Exemplo n.º 6
0
 private TestCaseAssemblyCompiler(IArchitecture architecture, IMetadataModule module)
     : base(architecture, module)
 {
     // Build the assembly compiler pipeline
     CompilerPipeline pipeline = this.Pipeline;
     pipeline.AddRange(new IAssemblyCompilerStage[] {
         new TypeLayoutStage(),
         new MethodCompilerBuilderStage(),
         new MethodCompilerRunnerStage(),
         // __grover, 01/02/2009: No object files in test!
         // new ObjectFileLayoutStage()
         new TestAssemblyLinker(),
     });
     architecture.ExtendAssemblyCompilerPipeline(pipeline);
 }
Exemplo n.º 7
0
        private TestCaseAssemblyCompiler(IArchitecture architecture, IMetadataModule module) :
            base(architecture, module)
        {
            // Build the assembly compiler pipeline
            CompilerPipeline pipeline = this.Pipeline;

            pipeline.AddRange(new IAssemblyCompilerStage[] {
                new TypeLayoutStage(),
                new MethodCompilerBuilderStage(),
                new MethodCompilerRunnerStage(),
                // __grover, 01/02/2009: No object files in test!
                // new ObjectFileLayoutStage()
                new TestAssemblyLinker(),
            });
            architecture.ExtendAssemblyCompilerPipeline(pipeline);
        }
        private TestCaseAssemblyCompiler(IArchitecture architecture, ITypeSystem typeSystem, ITypeLayout typeLayout, IInternalTrace internalTrace, CompilerOptions compilerOptions)
            : base(architecture, typeSystem, typeLayout, internalTrace, compilerOptions)
        {
            linker = new TestAssemblyLinker();

            // Build the assembly compiler pipeline
            Pipeline.AddRange(new IAssemblyCompilerStage[] {
                new DelegateTypePatchStage(),
                new PlugStage(),
                new AssemblyMemberCompilationSchedulerStage(),
                new MethodCompilerSchedulerStage(),
                new TypeLayoutStage(),
                new MetadataStage(),
                linker
            });

            architecture.ExtendAssemblyCompilerPipeline(Pipeline);
        }