aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2009-07-13 05:01:19 +0000
committerLang Hames <lhames@gmail.com>2009-07-13 05:01:19 +0000
commitbd4ba8f7ab5f1697d63473ca674dbeb39befbc18 (patch)
tree8bf6bd39e2cea6a90ed1655ac4d6c8d5f39c6ea1 /lib/CodeGen/RegAllocLinearScan.cpp
parent337b3c23eee5e824586b963767289556688927c0 (diff)
downloadexternal_llvm-bd4ba8f7ab5f1697d63473ca674dbeb39befbc18.tar.gz
external_llvm-bd4ba8f7ab5f1697d63473ca674dbeb39befbc18.tar.bz2
external_llvm-bd4ba8f7ab5f1697d63473ca674dbeb39befbc18.zip
Removed some junk code that snuck in to an earlier commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index fb837511c5..abbec1ace8 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -1207,7 +1207,6 @@ void RALinScan::assignRegOrStackSlotAtInterval(LiveInterval* cur)
// mark our rollback point.
std::vector<LiveInterval*> added;
while (!spillIs.empty()) {
- bool epicFail = false;
LiveInterval *sli = spillIs.back();
spillIs.pop_back();
DOUT << "\t\t\tspilling(a): " << *sli << '\n';
@@ -1224,10 +1223,6 @@ void RALinScan::assignRegOrStackSlotAtInterval(LiveInterval* cur)
addStackInterval(sli, ls_, li_, mri_, *vrm_);
std::copy(newIs.begin(), newIs.end(), std::back_inserter(added));
spilled.insert(sli->reg);
-
- if (epicFail) {
- //abort();
- }
}
unsigned earliestStart = earliestStartInterval->beginNumber();