Fix typo that results in new landing pads not getting a name, fixing PR14617.

Patch by Chris Toshok.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170318 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2012-12-17 12:02:36 +00:00
parent d01e3f0c0b
commit 12ea410114

View File

@ -1332,7 +1332,7 @@ public:
LandingPadInst *CreateLandingPad(Type *Ty, Value *PersFn, unsigned NumClauses,
const Twine &Name = "") {
return Insert(LandingPadInst::Create(Ty, PersFn, NumClauses, Name));
return Insert(LandingPadInst::Create(Ty, PersFn, NumClauses), Name);
}
//===--------------------------------------------------------------------===//