From c45789185568cc6a3fa583e006e6036d9775a991 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 30 Mar 2010 17:57:42 +0000 Subject: [PATCH] Fix -Asserts warning. llvm-svn: 99895 --- lib/CodeGen/LiveInterval.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/CodeGen/LiveInterval.cpp b/lib/CodeGen/LiveInterval.cpp index 7af25dd7e88..465b3069212 100644 --- a/lib/CodeGen/LiveInterval.cpp +++ b/lib/CodeGen/LiveInterval.cpp @@ -303,7 +303,6 @@ void LiveInterval::removeRange(SlotIndex Start, SlotIndex End, // otherwise mark it as ~1U so it can be nuked later. if (ValNo->id == getNumValNums()-1) { do { - VNInfo *VNI = valnos.back(); valnos.pop_back(); } while (!valnos.empty() && valnos.back()->isUnused()); } else { @@ -350,7 +349,6 @@ void LiveInterval::removeValNo(VNInfo *ValNo) { // otherwise mark it as ~1U so it can be nuked later. if (ValNo->id == getNumValNums()-1) { do { - VNInfo *VNI = valnos.back(); valnos.pop_back(); } while (!valnos.empty() && valnos.back()->isUnused()); } else { @@ -577,7 +575,6 @@ void LiveInterval::MergeValueInAsValue( // mark it as ~1U so it can be nuked later. if (V1->id == getNumValNums()-1) { do { - VNInfo *VNI = valnos.back(); valnos.pop_back(); } while (!valnos.empty() && valnos.back()->isUnused()); } else { @@ -745,7 +742,6 @@ VNInfo* LiveInterval::MergeValueNumberInto(VNInfo *V1, VNInfo *V2) { // ~1U so it can be nuked later. if (V1->id == getNumValNums()-1) { do { - VNInfo *VNI = valnos.back(); valnos.pop_back(); } while (valnos.back()->isUnused()); } else {