diff options
| author | Brian Potchik <brian@vector35.com> | 2018-11-05 16:10:40 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2018-11-05 16:10:40 -0500 |
| commit | bdda26803d3a140abf0aad30b5a26584c605a067 (patch) | |
| tree | 45051ac36b9896731896e0fb5a3b7472bd231d60 /basicblock.cpp | |
| parent | 2d63f0bb95c18b4379d6bf26810ccc8f8a19f64c (diff) | |
Provide fall-through indication in BasicBlockEdge info.
Diffstat (limited to 'basicblock.cpp')
| -rw-r--r-- | basicblock.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/basicblock.cpp b/basicblock.cpp index 9fc8d8aa..c0ab0c9c 100644 --- a/basicblock.cpp +++ b/basicblock.cpp @@ -142,6 +142,7 @@ vector<BasicBlockEdge> BasicBlock::GetOutgoingEdges() const edge.type = array[i].type; edge.target = array[i].target ? new BasicBlock(BNNewBasicBlockReference(array[i].target)) : nullptr; edge.backEdge = array[i].backEdge; + edge.fallThrough = array[i].fallThrough; result.push_back(edge); } @@ -163,6 +164,7 @@ vector<BasicBlockEdge> BasicBlock::GetIncomingEdges() const edge.type = array[i].type; edge.target = array[i].target ? new BasicBlock(BNNewBasicBlockReference(array[i].target)) : nullptr; edge.backEdge = array[i].backEdge; + edge.fallThrough = array[i].fallThrough; result.push_back(edge); } |
