diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-19 03:20:00 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-19 03:20:00 +0000 |
commit | da81bf4d3e4080fb8e46942f8f24a8a8996b5c58 (patch) | |
tree | 0930fdd428a5bf282750a1532317f4751b1ba535 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 577f4bd78c68a77075d2e0645f09f3f36a2bbcbc (diff) | |
download | bcm5719-llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.tar.gz bcm5719-llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.zip |
For PR1207:
Revert patches that caused the problem. Evan, please investigate and reapply
when you've discovered the problem.
llvm-svn: 34399
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index bef2502089e..d67159d61e7 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -118,7 +118,7 @@ void MachineBasicBlock::print(std::ostream &OS) const { const MRegisterInfo *MRI = MF->getTarget().getRegisterInfo(); if (livein_begin() != livein_end()) { OS << "Live Ins:"; - for (const_livein_iterator I = livein_begin(),E = livein_end(); I != E; ++I) + for (livein_iterator I = livein_begin(), E = livein_end(); I != E; ++I) OutputReg(OS, *I, MRI); OS << "\n"; } @@ -144,12 +144,6 @@ void MachineBasicBlock::print(std::ostream &OS) const { } } -void MachineBasicBlock::removeLiveIn(unsigned Reg) { - livein_iterator I = std::find(livein_begin(), livein_end(), Reg); - assert(I != livein_end() && "Not a live in!"); - LiveIns.erase(I); -} - void MachineBasicBlock::moveBefore(MachineBasicBlock *NewAfter) { MachineFunction::BasicBlockListType &BBList =getParent()->getBasicBlockList(); getParent()->getBasicBlockList().splice(NewAfter, BBList, this); |