# HG changeset patch # User Josef Eisl # Date 1424205635 -3600 # Node ID db1e84a9b0d49662c63403df6677a9d7c7675cf5 # Parent cb7e8c0da978041730cde620fb207cedd192c755 GraalCompiler: rename LIRTier scope to LIRStages. diff -r cb7e8c0da978 -r db1e84a9b0d4 graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java --- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Tue Feb 17 21:38:05 2015 +0100 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Tue Feb 17 21:40:35 2015 +0100 @@ -340,7 +340,7 @@ throw Debug.handle(e); } - try (Scope s = Debug.scope("LIRTier", nodeLirGen)) { + try (Scope s = Debug.scope("LIRStages", nodeLirGen)) { return emitLowLevel(target, codeEmittingOrder, linearScanOrder, lirGenRes, lirGen, lirSuites); } catch (Throwable e) { throw Debug.handle(e); @@ -352,14 +352,14 @@ public static > LIRGenerationResult emitLowLevel(TargetDescription target, List codeEmittingOrder, List linearScanOrder, LIRGenerationResult lirGenRes, LIRGeneratorTool lirGen, LIRSuites lirSuites) { - PreAllocationOptimizationContext highTierContext = new PreAllocationOptimizationContext(lirGen); - lirSuites.getPreAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, highTierContext); + PreAllocationOptimizationContext preAllocOptContext = new PreAllocationOptimizationContext(lirGen); + lirSuites.getPreAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, preAllocOptContext); - AllocationContext midTierContext = new AllocationContext(); - lirSuites.getAllocationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, midTierContext); + AllocationContext allocContext = new AllocationContext(); + lirSuites.getAllocationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, allocContext); - PostAllocationOptimizationContext lowTierContext = new PostAllocationOptimizationContext(); - lirSuites.getPostAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, lowTierContext); + PostAllocationOptimizationContext postAllocOptContext = new PostAllocationOptimizationContext(); + lirSuites.getPostAllocationOptimizationStage().apply(target, lirGenRes, codeEmittingOrder, linearScanOrder, postAllocOptContext); return lirGenRes; }