changeset 13315:ab7d5804a6f9

moved call to beforeRegisterAllocation() to be within "LIRGen" debug scope
author Doug Simon <doug.simon@oracle.com>
date Fri, 13 Dec 2013 13:25:05 +0100
parents 4c3e527bf857
children 26472d911fcd
files graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/GraalCompiler.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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();