diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-19 06:55:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-19 06:55:21 +0000 |
commit | 472405e0dc05f6fb8c09af00713ff893fff25b94 (patch) | |
tree | a4c839734683c4d85245220e65123f3a73f8b015 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 73d4adfb1e5d6c0ce834b331e6099b14d3341dd7 (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.cpp | 2 |
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'); } |