Skip to content

Commit

Permalink
Fix uniqueFunRetNode error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleisui committed Mar 25, 2020
1 parent 9894e6a commit 8113b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Util/VFG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ void VFG::addVFGNodes() {
}

PAGNodeSet retPAGNodes;
if (uniqueFunRetNode->hasOutgoingEdges(PAGEdge::Copy)) {
if (uniqueFunRetNode->hasIncomingEdges(PAGEdge::Copy)) {
for (PAGEdge::PAGEdgeSetTy::const_iterator cit = uniqueFunRetNode->getIncomingEdgesBegin(PAGEdge::Copy),
ecit = uniqueFunRetNode->getIncomingEdgesEnd(PAGEdge::Copy);
cit != ecit; ++cit) {
Expand Down

0 comments on commit 8113b1f

Please sign in to comment.