projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify hasNUsesOfValue and hasAnyUsesOfValue even more. This
[oota-llvm.git]
/
lib
/
CodeGen
/
RegAllocLinearScan.cpp
diff --git
a/lib/CodeGen/RegAllocLinearScan.cpp
b/lib/CodeGen/RegAllocLinearScan.cpp
index f4a1c007e8039f93f1bcdce9450e5aadbf661a8f..a26924be6279a3350bfecd10d38b3702bf2180dc 100644
(file)
--- a/
lib/CodeGen/RegAllocLinearScan.cpp
+++ b/
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();