Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuleisui authored Oct 8, 2024
1 parent a787fb3 commit 3b3f94d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/svf-ex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,8 @@ std::string printPts(PointerAnalysis* pta, Value* val)
*/
void traverseOnICFG(ICFG* icfg, const Instruction* inst)
{
SVFInstruction* svfinst = LLVMModuleSet::getLLVMModuleSet()->getSVFInstruction(inst);
const ICFGNode* iNode = LLVMModuleSet::getLLVMModuleSet()->getICFGNode(inst);

ICFGNode* iNode = icfg->getICFGNode(svfinst);
FIFOWorkList<const ICFGNode*> worklist;
Set<const ICFGNode*> visited;
worklist.push(iNode);
Expand Down

0 comments on commit 3b3f94d

Please sign in to comment.