diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-01 06:15:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-01 06:15:32 +0000 |
commit | c85535c8bed444502b6b266b590bb735cfd06aeb (patch) | |
tree | 6927ca073a0437ed101c394b59fd290a6f17b2d3 /llvm/lib/CodeGen/LiveIntervals.cpp | |
parent | 0c26b9cbbb052ff977d07fa342742449619ce74d (diff) | |
download | bcm5719-llvm-c85535c8bed444502b6b266b590bb735cfd06aeb.tar.gz bcm5719-llvm-c85535c8bed444502b6b266b590bb735cfd06aeb.zip |
Now that MachineFunction/MachineBasicBlock keep a mapping of blocks to ID #'s
use them instead of a local LiveVariables numbering
llvm-svn: 14523
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervals.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp index cdcebfcc7e0..f687675c722 100644 --- a/llvm/lib/CodeGen/LiveIntervals.cpp +++ b/llvm/lib/CodeGen/LiveIntervals.cpp @@ -292,7 +292,7 @@ void LiveIntervals::handleVirtualRegisterDef(MachineBasicBlock* mbb, if (interval.empty()) { for (unsigned i = 0, e = vi.AliveBlocks.size(); i != e; ++i) { if (vi.AliveBlocks[i]) { - MachineBasicBlock* mbb = lv_->getIndexMachineBasicBlock(i); + MachineBasicBlock* mbb = mf_->getBlockNumbered(i); if (!mbb->empty()) { interval.addRange( getInstructionIndex(&mbb->front()), |