forked from OSchip/llvm-project
Correct the return type of CreateCleanupEndPad
llvm-svn: 247331
This commit is contained in:
parent
65db630fe7
commit
4eb5d5a02d
|
@ -681,8 +681,8 @@ public:
|
|||
return Insert(CleanupReturnInst::Create(CleanupPad, UnwindBB));
|
||||
}
|
||||
|
||||
CatchEndPadInst *CreateCleanupEndPad(CleanupPadInst *CleanupPad,
|
||||
BasicBlock *UnwindBB = nullptr) {
|
||||
CleanupEndPadInst *CreateCleanupEndPad(CleanupPadInst *CleanupPad,
|
||||
BasicBlock *UnwindBB = nullptr) {
|
||||
return Insert(CleanupEndPadInst::Create(CleanupPad, UnwindBB));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue