[llvm-commits] [llvm] r52657 - /llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp
Dan Gohman
gohman at apple.com
Mon Jun 23 16:51:16 PDT 2008
Author: djg
Date: Mon Jun 23 18:51:16 2008
New Revision: 52657
URL: http://llvm.org/viewvc/llvm-project?rev=52657&view=rev
Log:
A brief survey of priority_queue usage in the tree turned this up
as a questionable case, but the code isn't actually needed.
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=52657&r1=52656&r2=52657&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocLinearScan.cpp Mon Jun 23 18:51:16 2008
@@ -305,7 +305,7 @@
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();
More information about the llvm-commits
mailing list