Merge pull request 'expression substitution: hotfix for recent commits (typo at condition)' (#26) from dead_code_removing into master
This commit was merged in pull request #26.
This commit is contained in:
@@ -1287,7 +1287,7 @@ bool isArgReaches(int decl_instr, SAPFOR::BasicBlock* decl_bb,
|
|||||||
|
|
||||||
reachable = banned_blocks;
|
reachable = banned_blocks;
|
||||||
worklist = reachable;
|
worklist = reachable;
|
||||||
while (worklist.size() != 0 || banned_instructions.size() == 0)
|
while (worklist.size() != 0 && banned_instructions.size() != 0)
|
||||||
{
|
{
|
||||||
if(worklist.find(dest_bb) != worklist.end())
|
if(worklist.find(dest_bb) != worklist.end())
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user