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

Patch by Chris Toshok.

llvm-svn: 170318
This commit is contained in:
Duncan Sands 2012-12-17 12:02:36 +00:00
parent 66c2cd3d88
commit 7cb52522fe
1 changed files with 1 additions and 1 deletions

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);
}
//===--------------------------------------------------------------------===//