Skip to content

Commit

Permalink
Merge pull request #1595 from jumormt/11.13fix
Browse files Browse the repository at this point in the history
remove casting to intraicfgnode when allocating branch condition
  • Loading branch information
yuleisui authored Nov 13, 2024
2 parents 2c256b6 + 865816e commit d3e99a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions svf/lib/SABER/SaberCondAllocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ void SaberCondAllocator::allocateForBB(const SVFBasicBlock &bb)
std::vector<Condition> condVec;
for (u32_t i = 0; i < bit_num; i++)
{
const IntraICFGNode* svfInst = cast<IntraICFGNode>(bb.back());
condVec.push_back(newCond(svfInst));
condVec.push_back(newCond(bb.back()));
}

// iterate each successor
Expand Down

0 comments on commit d3e99a5

Please sign in to comment.