dead_code: fix for recent changes
This commit is contained in:
@@ -41,7 +41,7 @@ static void updateUseDefForInstruction(SAPFOR::BasicBlock* block, SAPFOR::Instru
|
||||
{
|
||||
if (use.find(r) != use.end() ||
|
||||
r->getMemType() != SAPFOR::CFG_MEM_TYPE::LOCAL_ ||
|
||||
r->getType() != SAPFOR::CFG_ARG_TYPE::VAR)
|
||||
!(r->getType() == SAPFOR::CFG_ARG_TYPE::VAR || r->getType() == SAPFOR::CFG_ARG_TYPE::REG))
|
||||
{
|
||||
useful = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user