From: Bill Wendling Date: Fri, 7 Oct 2011 23:06:01 +0000 (+0000) Subject: Add a bool value to set the IsLandingPad flag to. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=fbf5f1b72b25de35452d89a4ccd7887f79880be8;p=oota-llvm.git Add a bool value to set the IsLandingPad flag to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141435 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 397e59ef18b..5a20e952b9c 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -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.