From 51cd9d6e073932fcb37f1857c66249d6c7d368ee Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 23 Jun 2008 23:51:16 +0000 Subject: [PATCH] A brief survey of priority_queue usage in the tree turned this up as a questionable case, but the code isn't actually needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52657 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAllocLinearScan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp index f4a1c007e80..a26924be627 100644 --- 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(); -- 2.34.1