Compare commits
1 Commits
master
...
374b6c686b
| Author | SHA1 | Date | |
|---|---|---|---|
| 374b6c686b |
@@ -136,7 +136,9 @@ static void replaceArrayRec(SgSymbol* arr, SgSymbol* replace_by, SgExpression* e
|
||||
if (!exp)
|
||||
return;
|
||||
|
||||
if (exp->symbol() && exp->symbol()->identifier() && strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
||||
if (exp->variant() != STMT_STR && exp->symbol() &&
|
||||
exp->symbol()->identifier() &&
|
||||
strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
||||
{
|
||||
has_read |= from_read;
|
||||
has_write |= from_write;
|
||||
|
||||
Reference in New Issue
Block a user