Couple of small logical cleanups to use !empty rather than other
[oota-llvm.git] / lib / CodeGen / LiveRangeEdit.cpp
index 09b0cede91db507edb81a1856b9b0817e9a0737f..cb70c43bf551784b74f29e2aaffccc045419eacc 100644 (file)
@@ -414,6 +414,6 @@ LiveRangeEdit::calculateRegClassAndHint(MachineFunction &MF,
     if (MRI.recomputeRegClass(LI.reg, MF.getTarget()))
       DEBUG(dbgs() << "Inflated " << PrintReg(LI.reg) << " to "
                    << MRI.getRegClass(LI.reg)->getName() << '\n');
-    VRAI.CalculateWeightAndHint(LI);
+    VRAI.calculateSpillWeightAndHint(LI);
   }
 }