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
commitfc1b75f7c8fa2f2974c476f99a55b2d006e5d14f (patch)
tree8bf6bd39e2cea6a90ed1655ac4d6c8d5f39c6ea1 /lib/CodeGen/RegAllocLinearScan.cpp
parent780905e9f9f29419de56b47253f6db84bc659f42 (diff)
downloadexternal_llvm-fc1b75f7c8fa2f2974c476f99a55b2d006e5d14f.zip
external_llvm-fc1b75f7c8fa2f2974c476f99a55b2d006e5d14f.tar.gz
external_llvm-fc1b75f7c8fa2f2974c476f99a55b2d006e5d14f.tar.bz2
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 fb83751..abbec1a 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();