diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-02-09 22:50:26 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-02-09 22:50:26 +0000 |
commit | f0ac26c51173a9a1d6e5b5794107dccc4c5b5792 (patch) | |
tree | eaece7499e5a684d91c552eacb98eb1b2c6adff9 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 025feadb973272d5c5097bb72cb2f6fef44474d3 (diff) |
Move calcLiveBlockInfo() and the BlockInfo struct into SplitAnalysis.
No functional changes intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125231 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 3739d28bfd..e8210244ca 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -870,7 +870,7 @@ void LiveIntervals::shrinkToUses(LiveInterval *li) { MachineBasicBlock::iterator LiveIntervals::getLastSplitPoint(const LiveInterval &li, - MachineBasicBlock *mbb) { + MachineBasicBlock *mbb) const { const MachineBasicBlock *lpad = mbb->getLandingPadSuccessor(); // If li is not live into a landing pad, we can insert spill code before the |