diff options
| author | Chris Lattner <sabre@nondot.org> | 2001-09-09 19:41:52 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2001-09-09 19:41:52 +0000 |
| commit | facf074632706fdde2f3e7989cfe21ae81ada3e9 (patch) | |
| tree | c9db4e0a4f98b0ae8109bf81688323e99ae6107f /llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | |
| parent | d9c5134806bd75eec529259532f3d3b62ffb4cf7 (diff) | |
| download | bcm5719-llvm-facf074632706fdde2f3e7989cfe21ae81ada3e9.tar.gz bcm5719-llvm-facf074632706fdde2f3e7989cfe21ae81ada3e9.zip | |
I really don't like it when people break the build.
llvm-svn: 510
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index e67df86c036..825e4546a7e 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -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())); } |

