From: Daniel Dunbar Date: Thu, 20 Aug 2009 20:01:34 +0000 (+0000) Subject: Suppress build warning in -Asserts X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=bc84ad95b7a4e453f6dd91f535abd7ef9ddc1773;p=oota-llvm.git Suppress build warning in -Asserts git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79564 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/RegAllocPBQP.cpp b/lib/CodeGen/RegAllocPBQP.cpp index 227ce391e54..853192ca9d2 100644 --- a/lib/CodeGen/RegAllocPBQP.cpp +++ b/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: ");