Compare commits
2 Commits
05609dadc0
...
7b4b1c9ce4
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b4b1c9ce4 | |||
|
|
37435104a7 |
@@ -1287,7 +1287,7 @@ bool isArgReaches(int decl_instr, SAPFOR::BasicBlock* decl_bb,
|
||||
|
||||
reachable = banned_blocks;
|
||||
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())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user