From 06ff7505e1ca4bbecc8d95a16160d12972767bc3 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 29 Oct 2009 04:41:24 +0000 Subject: [PATCH] fix 80-col. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85480 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/MemoryBuiltins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/MemoryBuiltins.cpp b/lib/Analysis/MemoryBuiltins.cpp index 707a9ee77d2..f3b94c2da4a 100644 --- a/lib/Analysis/MemoryBuiltins.cpp +++ b/lib/Analysis/MemoryBuiltins.cpp @@ -159,7 +159,7 @@ static Value* isArrayMallocHelper(const CallInst *CI, LLVMContext &Context, ConstantInt* Op1Int = dyn_cast(Op1); if (!Op1Int) return NULL; Value* Op1Pow = ConstantInt::get(Op1->getType(), - pow((double) 2, (double) Op1Int->getZExtValue())); + pow(2.0, (double) Op1Int->getZExtValue())); if (Op0 == ElementSize || (FoldedElementSize && Op0 == FoldedElementSize)) // ArraySize << log2(ElementSize) return Op1Pow; -- 2.34.1