diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:48:37 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:48:37 +0000 |
| commit | b1c9317bb416944ff2b491b20ca28e2241a5f51f (patch) | |
| tree | cf2fc5d20be5053bf0ca3ac2f4432d612701ef47 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
| parent | c88330ad137fc6e1210a6533e0686d5afd77c3fd (diff) | |
| download | bcm5719-llvm-b1c9317bb416944ff2b491b20ca28e2241a5f51f.tar.gz bcm5719-llvm-b1c9317bb416944ff2b491b20ca28e2241a5f51f.zip | |
Remove trailing whitespace
llvm-svn: 21427
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp index efaf22d459a..f3445806349 100644 --- a/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp +++ b/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp @@ -1,10 +1,10 @@ //===-- BasicBlockUtils.cpp - BasicBlock Utilities -------------------------==// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This family of functions perform manipulations on basic blocks, and @@ -30,7 +30,7 @@ void llvm::ReplaceInstWithValue(BasicBlock::InstListType &BIL, I.replaceAllUsesWith(V); std::string OldName = I.getName(); - + // Delete the unnecessary instruction now... BI = BIL.erase(BI); @@ -92,7 +92,7 @@ void llvm::RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum) { cast<BranchInst>(TI)->setUnconditionalDest(TI->getSuccessor(1-SuccNum)); } else { // Otherwise convert to a return instruction... Value *RetVal = 0; - + // Create a value to return... if the function doesn't return null... if (BB->getParent()->getReturnType() != Type::VoidTy) RetVal = Constant::getNullValue(BB->getParent()->getReturnType()); @@ -100,7 +100,7 @@ void llvm::RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum) { // Create the return... NewTI = new ReturnInst(RetVal); } - break; + break; case Instruction::Invoke: // Should convert to call case Instruction::Switch: // Should remove entry |

