OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1083d4
)
Add a bool value to set the IsLandingPad flag to.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 7 Oct 2011 23:06:01 +0000
(23:06 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 7 Oct 2011 23:06:01 +0000
(23:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141435
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/MachineBasicBlock.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/MachineBasicBlock.h
b/include/llvm/CodeGen/MachineBasicBlock.h
index
397e59e
..
5a20e95
100644
(file)
--- 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.