org.jikesrvm.compilers.opt.regalloc
Class BrainDeadSpillCost
java.lang.Object
org.jikesrvm.compilers.opt.regalloc.SpillCostEstimator
org.jikesrvm.compilers.opt.regalloc.BrainDeadSpillCost
class BrainDeadSpillCost
- extends SpillCostEstimator
An object that returns an estimate of the relative cost of spilling a
symbolic register.
This implementation returns a cost of zero for all registers.
Method Summary |
(package private) void |
calculate(IR ir)
Calculate the estimated cost for each register. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrainDeadSpillCost
BrainDeadSpillCost(IR ir)
calculate
void calculate(IR ir)
- Calculate the estimated cost for each register.
This brain-dead version does nothing.
- Specified by:
calculate
in class SpillCostEstimator