Add a bool value to set the IsLandingPad flag to.

llvm-svn: 141435
This commit is contained in:
Bill Wendling 2011-10-07 23:06:01 +00:00
parent 1f7c16c63f
commit b52a154112

View File

@ -232,7 +232,7 @@ public:
/// setIsLandingPad - Indicates the block is a landing pad. That is
/// this basic block is entered via an exception handler.
void setIsLandingPad() { IsLandingPad = true; }
void setIsLandingPad(bool V = true) { IsLandingPad = V; }
/// getLandingPadSuccessor - If this block has a successor that is a landing
/// pad, return it. Otherwise return NULL.