Compare commits
2 Commits
0eee799867
...
383d8df826
| Author | SHA1 | Date | |
|---|---|---|---|
| 383d8df826 | |||
| ebc5a1cbc1 |
@@ -136,7 +136,8 @@ static void replaceArrayRec(SgSymbol* arr, SgSymbol* replace_by, SgExpression* e
|
|||||||
if (!exp)
|
if (!exp)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (exp->symbol() && exp->symbol()->identifier() && strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
if (isArrayRef(exp) &&
|
||||||
|
strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
||||||
{
|
{
|
||||||
has_read |= from_read;
|
has_read |= from_read;
|
||||||
has_write |= from_write;
|
has_write |= from_write;
|
||||||
|
|||||||
Reference in New Issue
Block a user