From 0c80c75783c2bcc73268dd10492d9f0d000731d0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 6 Apr 2008 21:44:08 +0000 Subject: [PATCH] silence a warning when assertions are disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49283 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/CodeGenPrepare.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }