public GACodeGenerator( GAInstructionSelectorConfiguration selectorConfiguration, GASchedulerConfiguration schedulerConfiguration) { this.selectorConfiguration = selectorConfiguration; this.schedulerConfiguration = schedulerConfiguration; selector = new GAInstructionSelector(this); scheduler = selector.Scheduler; }
public GAInstructionSelector(GACodeGenerator codeGenerator) { this.codeGenerator = codeGenerator; configuration = codeGenerator.SelectorConfiguration; scheduler = new GAScheduler(codeGenerator); }