summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 01:41:27 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 01:41:27 +0000
commit6fc3ca062d36527a18df4e08f7b30a6918d8b433 (patch)
tree2068f3af53ea64e6af5d4d01bffe88f2c6fbc4c5 /llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
parentf6e365149830b7e729b4f6174960c832ca42e1ac (diff)
downloadbcm5719-llvm-6fc3ca062d36527a18df4e08f7b30a6918d8b433.tar.gz
bcm5719-llvm-6fc3ca062d36527a18df4e08f7b30a6918d8b433.zip
*** empty log message ***
llvm-svn: 4317
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
index b88ac520178..07e6a467d18 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRangeInfo.cpp
@@ -8,7 +8,7 @@
#include "llvm/CodeGen/RegAllocCommon.h"
#include "llvm/CodeGen/RegClass.h"
#include "llvm/CodeGen/MachineInstr.h"
-#include "llvm/CodeGen/MachineCodeForBasicBlock.h"
+#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Function.h"
#include "llvm/BasicBlock.h"
@@ -148,10 +148,10 @@ void LiveRangeInfo::constructLiveRanges() {
//
for (Function::const_iterator BBI=Meth->begin(); BBI != Meth->end(); ++BBI){
// get the vector of machine instructions for this basic block.
- MachineCodeForBasicBlock& MIVec = MachineCodeForBasicBlock::get(BBI);
+ MachineBasicBlock& MIVec = MachineBasicBlock::get(BBI);
// iterate over all the machine instructions in BB
- for(MachineCodeForBasicBlock::iterator MInstIterator = MIVec.begin();
+ for(MachineBasicBlock::iterator MInstIterator = MIVec.begin();
MInstIterator != MIVec.end(); ++MInstIterator) {
MachineInstr *MInst = *MInstIterator;
@@ -252,12 +252,11 @@ void LiveRangeInfo::coalesceLRs()
BBI != BBE; ++BBI) {
// get the iterator for machine instructions
- const MachineCodeForBasicBlock& MIVec = MachineCodeForBasicBlock::get(BBI);
- MachineCodeForBasicBlock::const_iterator MInstIterator = MIVec.begin();
+ const MachineBasicBlock& MIVec = MachineBasicBlock::get(BBI);
+ MachineBasicBlock::const_iterator MInstIterator = MIVec.begin();
// iterate over all the machine instructions in BB
for( ; MInstIterator != MIVec.end(); ++MInstIterator) {
-
const MachineInstr * MInst = *MInstIterator;
if( DEBUG_RA >= RA_DEBUG_LiveRanges) {
OpenPOWER on IntegriCloud