diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-07-31 02:54:02 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-07-31 02:54:02 -0400 |
| commit | ddca2fbb272ae8bbce6e421f07845d3439d08f5b (patch) | |
| tree | a671494d5a59473bd5d22f04c72d0e1528b885e1 /basicblock.cpp | |
| parent | 40192fa7adbf7b53e9d45343b0ae1b47cc5fef86 (diff) | |
Find functions that don't return based on control flow, and use that in parent functions
Diffstat (limited to 'basicblock.cpp')
| -rw-r--r-- | basicblock.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/basicblock.cpp b/basicblock.cpp index bca6e704..e27cdfa2 100644 --- a/basicblock.cpp +++ b/basicblock.cpp @@ -65,6 +65,12 @@ vector<BasicBlockEdge> BasicBlock::GetOutgoingEdges() const } +bool BasicBlock::HasUndeterminedOutgoingEdges() const +{ + return BNBasicBlockHasUndeterminedOutgoingEdges(m_block); +} + + void BasicBlock::MarkRecentUse() { BNMarkBasicBlockAsRecentlyUsed(m_block); |
