From: Chris Lattner Date: Sun, 14 Dec 2008 21:36:23 +0000 (+0000) Subject: eliminate warning when asserts disabled. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=528f16b9fa3163d54d430b3a85e91e0730622bf9;p=oota-llvm.git eliminate warning when asserts disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61012 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp b/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp index 530ad038cbe..4aad17d7236 100644 --- a/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp +++ b/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp @@ -96,7 +96,7 @@ SimplifyHalfPowrLibCalls::InlineHalfPowrs(const std::vector &Half NewBlock = SplitBlock(NextInst->getParent(), NextInst, this); bool B = InlineFunction(Call, 0, TD); - assert(B && "half_powr didn't inline?"); + assert(B && "half_powr didn't inline?"); B=B; BasicBlock *NewBody = NewBlock->getSinglePredecessor(); assert(NewBody);