diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-10-29 04:41:24 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-10-29 04:41:24 +0000 |
commit | 06ff7505e1ca4bbecc8d95a16160d12972767bc3 (patch) | |
tree | 05b03b05f4fd30c48cb26a9200604c2d458a9056 /lib/Analysis/MemoryBuiltins.cpp | |
parent | 5c303e85bd95b4eec3f8cf0d70e26f70bb5cde47 (diff) |
fix 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryBuiltins.cpp')
-rw-r--r-- | lib/Analysis/MemoryBuiltins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/MemoryBuiltins.cpp b/lib/Analysis/MemoryBuiltins.cpp index 707a9ee77d..f3b94c2da4 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<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; |