I really don't like it when people break the build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2001-09-09 19:41:52 +00:00
parent 424b847f07
commit 2e5309304a
2 changed files with 2 additions and 2 deletions

View File

@ -795,7 +795,7 @@ RecordSchedule(const BasicBlock* bb, const SchedulingManager& S)
InstrSchedule::const_iterator NIend = S.isched.end();
for (InstrSchedule::const_iterator NI = S.isched.begin(); NI != NIend; ++NI)
mvec.push_back((*NI)->getMachineInstr());
mvec.push_back(const_cast<MachineInstr*>((*NI)->getMachineInstr()));
}

View File

@ -795,7 +795,7 @@ RecordSchedule(const BasicBlock* bb, const SchedulingManager& S)
InstrSchedule::const_iterator NIend = S.isched.end();
for (InstrSchedule::const_iterator NI = S.isched.begin(); NI != NIend; ++NI)
mvec.push_back((*NI)->getMachineInstr());
mvec.push_back(const_cast<MachineInstr*>((*NI)->getMachineInstr()));
}