From e7e865cf0bc6a0376348b19462625e7d29062e54 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 20 Aug 2009 20:01:34 +0000 Subject: [PATCH] Suppress build warning in -Asserts llvm-svn: 79564 --- llvm/lib/CodeGen/RegAllocPBQP.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp index 227ce391e54d..853192ca9d2f 100644 --- a/llvm/lib/CodeGen/RegAllocPBQP.cpp +++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp @@ -734,6 +734,7 @@ bool PBQPRegAlloc::mapPBQPToRegAlloc(const PBQP::Solution &solution) { lis->addIntervalsForSpills(*spillInterval, spillIs, loopInfo, *vrm); addStackInterval(spillInterval, mri); + (void) oldSpillWeight; DEBUG(errs() << "VREG " << virtReg << " -> SPILLED (Cost: " << oldSpillWeight << ", New vregs: ");