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 | e04ed0c68faee3e46e2ea10653d73c73e5a473b4 (patch) | |
tree | c9db7ab214143c8bd43019df42d977a0f4d64ba1 /llvm/lib/VMCore/Instructions.cpp | |
parent | 5b39e2382f991880cdec64632cdfd65135468c8b (diff) | |
download | bcm5719-llvm-e04ed0c68faee3e46e2ea10653d73c73e5a473b4.tar.gz bcm5719-llvm-e04ed0c68faee3e46e2ea10653d73c73e5a473b4.zip |
Fit in 80 columns
llvm-svn: 86316
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index b5e1a1b9f67..e2c283f19b1 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/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)) { |