comparison graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java @ 19570:a33fe10c4d93

Merge.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 23 Feb 2015 20:13:29 +0100
parents 4d70d150944f 1cf73c50e3dc
children 16b239e422d2
comparison
equal deleted inserted replaced
19569:94f71c29c016 19570:a33fe10c4d93
353 public static <T extends AbstractBlockBase<T>> LIRGenerationResult emitLowLevel(TargetDescription target, List<T> codeEmittingOrder, List<T> linearScanOrder, LIRGenerationResult lirGenRes, 353 public static <T extends AbstractBlockBase<T>> LIRGenerationResult emitLowLevel(TargetDescription target, List<T> codeEmittingOrder, List<T> linearScanOrder, LIRGenerationResult lirGenRes,
354 LIRGeneratorTool lirGen, LIRSuites lirSuites) { 354 LIRGeneratorTool lirGen, LIRSuites lirSuites) {
355 PreAllocationOptimizationContext preAllocOptContext = new PreAllocationOptimizationContext(lirGen); 355 PreAllocationOptimizationContext preAllocOptContext = new PreAllocationOptimizationContext(lirGen);
356 lirSuites.getPreAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, preAllocOptContext); 356 lirSuites.getPreAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, preAllocOptContext);
357 357
358 AllocationContext allocContext = new AllocationContext(); 358 AllocationContext allocContext = new AllocationContext(lirGen.getSpillMoveFactory());
359 lirSuites.getAllocationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, allocContext); 359 lirSuites.getAllocationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, allocContext);
360 360
361 PostAllocationOptimizationContext postAllocOptContext = new PostAllocationOptimizationContext(); 361 PostAllocationOptimizationContext postAllocOptContext = new PostAllocationOptimizationContext();
362 lirSuites.getPostAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, postAllocOptContext); 362 lirSuites.getPostAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, postAllocOptContext);
363 363