summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit43edca25b38bb8b042913845ef53588a2152afc2 (patch)
tree3e07a8b10aa70479c0a4cb21001642b808cd6ece /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parent571bf545691de928a502ae7cad8b159992484547 (diff)
downloadbcm5719-llvm-43edca25b38bb8b042913845ef53588a2152afc2.tar.gz
bcm5719-llvm-43edca25b38bb8b042913845ef53588a2152afc2.zip
Removed some junk code that snuck in to an earlier commit.
llvm-svn: 75450
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index fb837511c56..abbec1ace81 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/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();
OpenPOWER on IntegriCloud