forked from OSchip/llvm-project
[IR] Cleanup indentation of EH instructions
No functional change is intended, just tidying up whitespace. llvm-svn: 244966
This commit is contained in:
parent
9ff56b2ec7
commit
5c73c941c9
|
@ -764,7 +764,7 @@ void CatchEndPadInst::init(BasicBlock *UnwindBB) {
|
||||||
}
|
}
|
||||||
|
|
||||||
CatchEndPadInst::CatchEndPadInst(LLVMContext &C, BasicBlock *UnwindBB,
|
CatchEndPadInst::CatchEndPadInst(LLVMContext &C, BasicBlock *UnwindBB,
|
||||||
unsigned Values, Instruction *InsertBefore)
|
unsigned Values, Instruction *InsertBefore)
|
||||||
: TerminatorInst(Type::getVoidTy(C), Instruction::CatchEndPad,
|
: TerminatorInst(Type::getVoidTy(C), Instruction::CatchEndPad,
|
||||||
OperandTraits<CatchEndPadInst>::op_end(this) - Values,
|
OperandTraits<CatchEndPadInst>::op_end(this) - Values,
|
||||||
Values, InsertBefore) {
|
Values, InsertBefore) {
|
||||||
|
@ -772,7 +772,7 @@ CatchEndPadInst::CatchEndPadInst(LLVMContext &C, BasicBlock *UnwindBB,
|
||||||
}
|
}
|
||||||
|
|
||||||
CatchEndPadInst::CatchEndPadInst(LLVMContext &C, BasicBlock *UnwindBB,
|
CatchEndPadInst::CatchEndPadInst(LLVMContext &C, BasicBlock *UnwindBB,
|
||||||
unsigned Values, BasicBlock *InsertAtEnd)
|
unsigned Values, BasicBlock *InsertAtEnd)
|
||||||
: TerminatorInst(Type::getVoidTy(C), Instruction::CatchEndPad,
|
: TerminatorInst(Type::getVoidTy(C), Instruction::CatchEndPad,
|
||||||
OperandTraits<CatchEndPadInst>::op_end(this) - Values,
|
OperandTraits<CatchEndPadInst>::op_end(this) - Values,
|
||||||
Values, InsertAtEnd) {
|
Values, InsertAtEnd) {
|
||||||
|
@ -833,7 +833,7 @@ void CatchReturnInst::setSuccessorV(unsigned Idx, BasicBlock *B) {
|
||||||
// CatchPadInst Implementation
|
// CatchPadInst Implementation
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
void CatchPadInst::init(BasicBlock *IfNormal, BasicBlock *IfException,
|
void CatchPadInst::init(BasicBlock *IfNormal, BasicBlock *IfException,
|
||||||
ArrayRef<Value *> Args, const Twine &NameStr) {
|
ArrayRef<Value *> Args, const Twine &NameStr) {
|
||||||
assert(getNumOperands() == 2 + Args.size() && "NumOperands not set up?");
|
assert(getNumOperands() == 2 + Args.size() && "NumOperands not set up?");
|
||||||
Op<-2>() = IfNormal;
|
Op<-2>() = IfNormal;
|
||||||
Op<-1>() = IfException;
|
Op<-1>() = IfException;
|
||||||
|
@ -850,22 +850,22 @@ CatchPadInst::CatchPadInst(const CatchPadInst &CPI)
|
||||||
}
|
}
|
||||||
|
|
||||||
CatchPadInst::CatchPadInst(Type *RetTy, BasicBlock *IfNormal,
|
CatchPadInst::CatchPadInst(Type *RetTy, BasicBlock *IfNormal,
|
||||||
BasicBlock *IfException, ArrayRef<Value *> Args,
|
BasicBlock *IfException, ArrayRef<Value *> Args,
|
||||||
unsigned Values, const Twine &NameStr,
|
unsigned Values, const Twine &NameStr,
|
||||||
Instruction *InsertBefore)
|
Instruction *InsertBefore)
|
||||||
: TerminatorInst(RetTy, Instruction::CatchPad,
|
: TerminatorInst(RetTy, Instruction::CatchPad,
|
||||||
OperandTraits<CatchPadInst>::op_end(this) - Values,
|
OperandTraits<CatchPadInst>::op_end(this) - Values, Values,
|
||||||
Values, InsertBefore) {
|
InsertBefore) {
|
||||||
init(IfNormal, IfException, Args, NameStr);
|
init(IfNormal, IfException, Args, NameStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
CatchPadInst::CatchPadInst(Type *RetTy, BasicBlock *IfNormal,
|
CatchPadInst::CatchPadInst(Type *RetTy, BasicBlock *IfNormal,
|
||||||
BasicBlock *IfException, ArrayRef<Value *> Args,
|
BasicBlock *IfException, ArrayRef<Value *> Args,
|
||||||
unsigned Values, const Twine &NameStr,
|
unsigned Values, const Twine &NameStr,
|
||||||
BasicBlock *InsertAtEnd)
|
BasicBlock *InsertAtEnd)
|
||||||
: TerminatorInst(RetTy, Instruction::CatchPad,
|
: TerminatorInst(RetTy, Instruction::CatchPad,
|
||||||
OperandTraits<CatchPadInst>::op_end(this) - Values,
|
OperandTraits<CatchPadInst>::op_end(this) - Values, Values,
|
||||||
Values, InsertAtEnd) {
|
InsertAtEnd) {
|
||||||
init(IfNormal, IfException, Args, NameStr);
|
init(IfNormal, IfException, Args, NameStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -949,8 +949,7 @@ CleanupPadInst::CleanupPadInst(const CleanupPadInst &CPI)
|
||||||
}
|
}
|
||||||
|
|
||||||
CleanupPadInst::CleanupPadInst(Type *RetTy, ArrayRef<Value *> Args,
|
CleanupPadInst::CleanupPadInst(Type *RetTy, ArrayRef<Value *> Args,
|
||||||
const Twine &NameStr,
|
const Twine &NameStr, Instruction *InsertBefore)
|
||||||
Instruction *InsertBefore)
|
|
||||||
: Instruction(RetTy, Instruction::CleanupPad,
|
: Instruction(RetTy, Instruction::CleanupPad,
|
||||||
OperandTraits<CleanupPadInst>::op_end(this) - Args.size(),
|
OperandTraits<CleanupPadInst>::op_end(this) - Args.size(),
|
||||||
Args.size(), InsertBefore) {
|
Args.size(), InsertBefore) {
|
||||||
|
@ -958,8 +957,7 @@ CleanupPadInst::CleanupPadInst(Type *RetTy, ArrayRef<Value *> Args,
|
||||||
}
|
}
|
||||||
|
|
||||||
CleanupPadInst::CleanupPadInst(Type *RetTy, ArrayRef<Value *> Args,
|
CleanupPadInst::CleanupPadInst(Type *RetTy, ArrayRef<Value *> Args,
|
||||||
const Twine &NameStr,
|
const Twine &NameStr, BasicBlock *InsertAtEnd)
|
||||||
BasicBlock *InsertAtEnd)
|
|
||||||
: Instruction(RetTy, Instruction::CleanupPad,
|
: Instruction(RetTy, Instruction::CleanupPad,
|
||||||
OperandTraits<CleanupPadInst>::op_end(this) - Args.size(),
|
OperandTraits<CleanupPadInst>::op_end(this) - Args.size(),
|
||||||
Args.size(), InsertAtEnd) {
|
Args.size(), InsertAtEnd) {
|
||||||
|
|
Loading…
Reference in New Issue