diff options
author | Victor Hernandez <vhernandez@apple.com> | 2009-11-07 00:36:50 +0000 |
---|---|---|
committer | Victor Hernandez <vhernandez@apple.com> | 2009-11-07 00:36:50 +0000 |
commit | b035016639fa72a2a698d3f362fff7f9eee4e5ca (patch) | |
tree | e84cc2d7c758d5518d92368fe9fd96b9e8a2fcbd /lib/VMCore | |
parent | 7f287f83693b6f419210d1a3560c45515b9e690c (diff) | |
download | external_llvm-b035016639fa72a2a698d3f362fff7f9eee4e5ca.zip external_llvm-b035016639fa72a2a698d3f362fff7f9eee4e5ca.tar.gz external_llvm-b035016639fa72a2a698d3f362fff7f9eee4e5ca.tar.bz2 |
Fit in 80 columns
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86316 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index b5e1a1b..e2c283f 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -465,9 +465,11 @@ static Instruction *createMalloc(Instruction *InsertBefore, ArraySize = ConstantInt::get(IntPtrTy, 1); else if (ArraySize->getType() != IntPtrTy) { if (InsertBefore) - ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, "", InsertBefore); + ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, + "", InsertBefore); else - ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, "", InsertAtEnd); + ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, + "", InsertAtEnd); } if (!IsConstantOne(ArraySize)) { |