public override MethodCompilerBase CreateMethodCompiler(RuntimeType type, RuntimeMethod method) { IArchitecture arch = this.Architecture; MethodCompilerBase mc = new TestCaseMethodCompiler(this.Pipeline.Find <IAssemblyLinker>(), this.Architecture, this.Assembly, type, method); arch.ExtendMethodCompilerPipeline(mc.Pipeline); return(mc); }
/// <summary> /// Creates a method compiler /// </summary> /// <param name="type">The type.</param> /// <param name="method">The method to compile.</param> /// <returns> /// An instance of a MethodCompilerBase for the given type/method pair. /// </returns> public override MethodCompilerBase CreateMethodCompiler(RuntimeType type, RuntimeMethod method) { IArchitecture arch = this.Architecture; MethodCompilerBase mc = new AotMethodCompiler( this, type, method ); arch.ExtendMethodCompilerPipeline(mc.Pipeline); return(mc); }