summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-25 22:01:06 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-25 22:01:06 +0000
commit1d8b28a35761a22b6d90d01d79364bd59374a2ef (patch)
tree009b9f0acf03458401e58388e478873a276dbef7 /lib
parent4d0d864be3d9a698c4edfe36961a22126f041298 (diff)
downloadllvm-1d8b28a35761a22b6d90d01d79364bd59374a2ef.tar.gz
llvm-1d8b28a35761a22b6d90d01d79364bd59374a2ef.tar.bz2
llvm-1d8b28a35761a22b6d90d01d79364bd59374a2ef.tar.xz
Remove asssert since it is breaking cases that it shouldn't.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index b45281e671..42029dc6b0 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -378,7 +378,6 @@ void RA::assignRegOrStackSlotAtInterval(IntervalPtrs::value_type cur)
}
DEBUG(std::cerr << "\t\tregister with min weight: "
<< mri_->getName(minReg) << " (" << minWeight << ")\n");
- assert(minReg != 0 && "Didn't find a register to spill?");
// if the current has the minimum weight, we need to modify it,
// push it back in unhandled and let the linear scan algorithm run