[llvm-commits] [llvm] r75450 - /llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp

Lang Hames lhames at gmail.com
Sun Jul 12 22:01:19 PDT 2009


Author: lhames
Date: Mon Jul 13 00:01:19 2009
New Revision: 75450

URL: http://llvm.org/viewvc/llvm-project?rev=75450&view=rev
Log:
Removed some junk code that snuck in to an earlier commit.

Modified:
    llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp

Modified: llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp?rev=75450&r1=75449&r2=75450&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp Mon Jul 13 00:01:19 2009
@@ -1207,7 +1207,6 @@
   // 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 @@
     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();





More information about the llvm-commits mailing list