changeset 21332:6c1a3a2d6fb9

LinearScan: remove initIntervalWalker (unused).
author Josef Eisl <josef.eisl@jku.at>
date Tue, 12 May 2015 13:24:34 +0200
parents 45ff3423d4c4
children a6e1a98f47e2
files graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java
diffstat 1 files changed, 0 insertions(+), 17 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java	Tue May 12 13:22:25 2015 +0200
+++ b/graal/com.oracle.graal.lir/src/com/oracle/graal/lir/alloc/lsra/LinearScan.java	Tue May 12 13:24:34 2015 +0200
@@ -990,23 +990,6 @@
         return isIllegal(interval.location()) && interval.canMaterialize();
     }
 
-    protected IntervalWalker initIntervalWalker(IntervalPredicate predicate) {
-        // setup lists of potential oops for walking
-        Interval oopIntervals;
-        Interval nonOopIntervals;
-
-        oopIntervals = createUnhandledLists(predicate, null).first;
-
-        /*
-         * Intervals that have no oops inside need not to be processed. to ensure a walking until
-         * the last instruction id, add a dummy interval with a high operation id.
-         */
-        nonOopIntervals = new Interval(Value.ILLEGAL, -1);
-        nonOopIntervals.addRange(Integer.MAX_VALUE - 2, Integer.MAX_VALUE - 1);
-
-        return new IntervalWalker(this, oopIntervals, nonOopIntervals);
-    }
-
     boolean isCallerSave(Value operand) {
         return attributes(asRegister(operand)).isCallerSave();
     }