Correct the return type of CreateCleanupEndPad

llvm-svn: 247331
This commit is contained in:
Reid Kleckner 2015-09-10 20:07:25 +00:00
parent 65db630fe7
commit 4eb5d5a02d
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}