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 | a74cf5a7d9e2154afc6b962ba419a1d9f0f65da2 (patch) | |
| tree | f2e397cd99baca509570637e4172725222c4b2cd /llvm/lib/CodeGen/LiveIntervals.cpp | |
| parent | 5027de35edf873a5a9b12a4983318afbb8f36f53 (diff) | |
| download | bcm5719-llvm-a74cf5a7d9e2154afc6b962ba419a1d9f0f65da2.tar.gz bcm5719-llvm-a74cf5a7d9e2154afc6b962ba419a1d9f0f65da2.zip | |
Simplify the interface to LiveVariables::addVirtualRegister(Killed|Dead)
llvm-svn: 14997
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervals.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveIntervals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervals.cpp b/llvm/lib/CodeGen/LiveIntervals.cpp index ee988b10a40..a20d23bb764 100644 --- a/llvm/lib/CodeGen/LiveIntervals.cpp +++ b/llvm/lib/CodeGen/LiveIntervals.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'); } |

