# HG changeset patch # User Doug Simon # Date 1386937505 -3600 # Node ID ab7d5804a6f908db06ed8ef89c8d888600a0507d # Parent 4c3e527bf8574eec6efb482716ba511e3be1ae79 moved call to beforeRegisterAllocation() to be within "LIRGen" debug scope diff -r 4c3e527bf857 -r ab7d5804a6f9 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 Fri Dec 13 13:21:41 2013 +0100 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java Fri Dec 13 13:25:05 2013 +0100 @@ -262,14 +262,13 @@ for (Block b : lir.linearScanOrder()) { emitBlock(lirGen, b); } + lirGen.beforeRegisterAllocation(); Debug.dump(lir, "After LIR generation"); } catch (Throwable e) { throw Debug.handle(e); } - lirGen.beforeRegisterAllocation(); - try (Scope s = Debug.scope("Allocator")) { if (backend.shouldAllocateRegisters()) { new LinearScan(target, lir, lirGen, frameMap).allocate();