summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-10-29 04:41:24 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-10-29 04:41:24 +0000
commit0590837d3463d3d2a0f6c9a1efbcf2ab3e019e5f (patch)
treefe51b3bed815f943ee53cce0c1c94a7b753fa8dd
parente9006fe14254019ef9ccc7a0742aed82c81acb89 (diff)
downloadbcm5719-llvm-0590837d3463d3d2a0f6c9a1efbcf2ab3e019e5f.tar.gz
bcm5719-llvm-0590837d3463d3d2a0f6c9a1efbcf2ab3e019e5f.zip
fix 80-col.
llvm-svn: 85480
-rw-r--r--llvm/lib/Analysis/MemoryBuiltins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryBuiltins.cpp b/llvm/lib/Analysis/MemoryBuiltins.cpp
index 707a9ee77d2..f3b94c2da4a 100644
--- a/llvm/lib/Analysis/MemoryBuiltins.cpp
+++ b/llvm/lib/Analysis/MemoryBuiltins.cpp
@@ -159,7 +159,7 @@ static Value* isArrayMallocHelper(const CallInst *CI, LLVMContext &Context,
ConstantInt* Op1Int = dyn_cast<ConstantInt>(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;
OpenPOWER on IntegriCloud