# HG changeset patch # User Josef Eisl # Date 1430927072 -7200 # Node ID 8908ac7d2c868413704704dc161190d5681fdabe # Parent bb9d3f0616a31e76575a58f13aebb0fbe15604a2 LinearScan: move call to sortIntervalsBeforeAllocation to RegisterAllocation phase. diff -r bb9d3f0616a3 -r 8908ac7d2c86 graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java --- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java Wed May 06 17:37:35 2015 +0200 +++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java Wed May 06 17:44:32 2015 +0200 @@ -1870,7 +1870,6 @@ computeLocalLiveSets(); computeGlobalLiveSets(); buildIntervals(); - sortIntervalsBeforeAllocation(); } } @@ -1880,6 +1879,7 @@ @Override protected > void run(TargetDescription target, LIRGenerationResult lirGenRes, List codeEmittingOrder, List linearScanOrder, SpillMoveFactory spillMoveFactory) { + sortIntervalsBeforeAllocation(); printIntervals("Before register allocation"); allocateRegisters(); printIntervals("After register allocation");