mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
fix 80-col.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c303e85bd
commit
06ff7505e1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user