aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-19 06:55:21 +0000
committerChris Lattner <sabre@nondot.org>2004-07-19 06:55:21 +0000
commit472405e0dc05f6fb8c09af00713ff893fff25b94 (patch)
treea4c839734683c4d85245220e65123f3a73f8b015 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent73d4adfb1e5d6c0ce834b331e6099b14d3341dd7 (diff)
Simplify the interface to LiveVariables::addVirtualRegister(Killed|Dead)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14997 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index ee988b10a4..a20d23bb76 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -263,7 +263,7 @@ std::vector<LiveInterval*> LiveIntervals::addIntervalsForSpills(
nI.addRange(start, end);
added.push_back(&nI);
// update live variables
- lv_->addVirtualRegisterKilled(nReg, mi->getParent(),mi);
+ lv_->addVirtualRegisterKilled(nReg, mi);
DEBUG(std::cerr << "\t\t\t\tadded new interval: "
<< nI << '\n');
}