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 | 8490f9c92e354fd9cd242bae89b24e6c59e5c794 (patch) | |
tree | 85a9894afd0c6142c67a78c9975ebf9adb9d7b86 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 61e4cb3605b9a7c0ef2b720c8dc5a2e7b880e3a9 (diff) |
Now that MachineFunction/MachineBasicBlock keep a mapping of blocks to ID #'s
use them instead of a local LiveVariables numbering
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14523 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index cdcebfcc7e..f687675c72 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.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()), |