From: Chris Lattner Date: Sun, 6 Apr 2008 21:44:08 +0000 (+0000) Subject: silence a warning when assertions are disabled. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0c80c75783c2bcc73268dd10492d9f0d000731d0;p=oota-llvm.git silence a warning when assertions are disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49283 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp index 43251c344f8..532af2511e1 100644 --- a/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -726,7 +726,7 @@ static bool FindMaximalLegalAddressingMode(Value *Addr, const Type *AccessTy, } if (Instruction *I = dyn_cast_or_null(AddrInst)) { - assert(AddrModeInsts.back() == I && "Stack imbalance"); + assert(AddrModeInsts.back() == I && "Stack imbalance"); I = I; AddrModeInsts.pop_back(); }