Fit code within 80 columns

llvm-svn: 81459
This commit is contained in:
Victor Hernandez 2009-09-10 20:18:57 +00:00
parent 62aebf9fa2
commit 7b98b9291c
1 changed files with 4 additions and 2 deletions

View File

@ -69,12 +69,14 @@ static bool isBitCastOfMallocCall(const BitCastInst* BCI) {
/// instruction is a bitcast of the result of a malloc call.
CallInst* llvm::extractMallocCallFromBitCast(Value* I) {
BitCastInst *BCI = dyn_cast<BitCastInst>(I);
return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0)) : NULL;
return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0))
: NULL;
}
const CallInst* llvm::extractMallocCallFromBitCast(const Value* I) {
const BitCastInst *BCI = dyn_cast<BitCastInst>(I);
return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0)) : NULL;
return (isBitCastOfMallocCall(BCI)) ? cast<CallInst>(BCI->getOperand(0))
: NULL;
}
static bool isArrayMallocHelper(const CallInst *CI) {