From bdda26803d3a140abf0aad30b5a26584c605a067 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 5 Nov 2018 16:10:40 -0500 Subject: Provide fall-through indication in BasicBlockEdge info. --- basicblock.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'basicblock.cpp') diff --git a/basicblock.cpp b/basicblock.cpp index 9fc8d8aa..c0ab0c9c 100644 --- a/basicblock.cpp +++ b/basicblock.cpp @@ -142,6 +142,7 @@ vector 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 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); } -- cgit v1.3.1