From 528f16b9fa3163d54d430b3a85e91e0730622bf9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Dec 2008 21:36:23 +0000 Subject: [PATCH] eliminate warning when asserts disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61012 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1