Move calcLiveBlockInfo() and the BlockInfo struct into SplitAnalysis.
No functional changes intended.
llvm-svn: 125231
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 3739d28..e821024 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -870,7 +870,7 @@
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