summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-06-23 23:51:16 +0000
committerDan Gohman <gohman@apple.com>2008-06-23 23:51:16 +0000
commit9cc3f68ab126a8f01ffc345f6af166fa11dd0bb0 (patch)
treeb9049ef0d9d21833c235c48cb5247b384c0a89d3 /llvm/lib/CodeGen/RegAllocLinearScan.cpp
parentcb236f7de929882e981af2ae2496a20b8a57cc68 (diff)
downloadbcm5719-llvm-9cc3f68ab126a8f01ffc345f6af166fa11dd0bb0.tar.gz
bcm5719-llvm-9cc3f68ab126a8f01ffc345f6af166fa11dd0bb0.zip
A brief survey of priority_queue usage in the tree turned this up
as a questionable case, but the code isn't actually needed. llvm-svn: 52657
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocLinearScan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
index f4a1c007e80..a26924be627 100644
--- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/llvm/lib/CodeGen/RegAllocLinearScan.cpp
@@ -305,7 +305,7 @@ bool RALinScan::runOnMachineFunction(MachineFunction &fn) {
spiller_->runOnMachineFunction(*mf_, *vrm_);
vrm_.reset(); // Free the VirtRegMap
- while (!unhandled_.empty()) unhandled_.pop();
+ assert(unhandled_.empty() && "Unhandled live intervals remain!");
fixed_.clear();
active_.clear();
inactive_.clear();
OpenPOWER on IntegriCloud