diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-28 22:07:24 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-28 22:07:24 +0000 |
commit | 1485455be0310c6b24f096823029e08867531016 (patch) | |
tree | b93e7bbb28a188b39bf5c9e1dfca59a26a61712b /lib/CodeGen/RegAllocBasic.cpp | |
parent | 489d67927172941bf59b9f4829ab8910814fea24 (diff) |
Kill off LiveRangeEdit::getNewVRegs and LiveRangeEdit::getUselessVRegs. These
methods are no longer needed now that LinearScan has gone away.
(Contains tweaks trivialSpillEverywhere to enable the removal of getNewVRegs).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocBasic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBasic.cpp b/lib/CodeGen/RegAllocBasic.cpp index d1b289b363..2e79c790f2 100644 --- a/lib/CodeGen/RegAllocBasic.cpp +++ b/lib/CodeGen/RegAllocBasic.cpp @@ -187,7 +187,7 @@ void RABasic::spillReg(LiveInterval& VirtReg, unsigned PhysReg, unassign(SpilledVReg, PhysReg); // Spill the extracted interval. - LiveRangeEdit LRE(SpilledVReg, SplitVRegs, 0, &PendingSpills); + LiveRangeEdit LRE(SpilledVReg, SplitVRegs); spiller().spill(LRE); } // After extracting segments, the query's results are invalid. But keep the |