Remove redundant private field.

clang warned about this being unused in Release builds.

llvm-svn: 163899
This commit is contained in:
Benjamin Kramer 2012-09-14 12:19:58 +00:00
parent d44138808f
commit 61f6708eee
2 changed files with 2 additions and 3 deletions

View File

@ -123,7 +123,7 @@ void VLIWMachineScheduler::schedule() {
<< "********** MI Converging Scheduling VLIW BB#" << BB->getNumber()
<< " " << BB->getName()
<< " in_func " << BB->getParent()->getFunction()->getName()
<< " at loop depth " << MLI->getLoopDepth(BB)
<< " at loop depth " << MLI.getLoopDepth(BB)
<< " \n");
buildDAGWithRegPressure();

View File

@ -107,10 +107,9 @@ public:
/// Extend the standard ScheduleDAGMI to provide more context and override the
/// top-level schedule() driver.
class VLIWMachineScheduler : public ScheduleDAGMI {
const MachineLoopInfo *MLI;
public:
VLIWMachineScheduler(MachineSchedContext *C, MachineSchedStrategy *S):
ScheduleDAGMI(C, S), MLI(C->MLI) {}
ScheduleDAGMI(C, S) {}
/// Schedule - This is called back from ScheduleDAGInstrs::Run() when it's
/// time to do some work.