diff --git a/lib/Graphs/SVFG.cpp b/lib/Graphs/SVFG.cpp index 158a282df..bf5c080e7 100644 --- a/lib/Graphs/SVFG.cpp +++ b/lib/Graphs/SVFG.cpp @@ -665,7 +665,7 @@ const SVFFunction* SVFG::isFunEntrySVFGNode(const SVFGNode* node) const else if(const InterMSSAPHISVFGNode* mphi = SVFUtil::dyn_cast(node)) { if(mphi->isFormalINPHI()) - return phi->getFun(); + return mphi->getFun(); } return nullptr; }