forked from OSchip/llvm-project
Add a bool value to set the IsLandingPad flag to.
llvm-svn: 141435
This commit is contained in:
parent
741fab1358
commit
6a37c64a47
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue