# HG changeset patch # User Josef Eisl # Date 1431429874 -7200 # Node ID 6c1a3a2d6fb9774a177b1fd5a0f0308f60d322a0 # Parent 45ff3423d4c49813eecfd62552d2a93621ac59cf LinearScan: remove initIntervalWalker (unused). diff -r 45ff3423d4c4 -r 6c1a3a2d6fb9 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 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(); }