mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Create VAccess class. No functional change intended.
This commit is contained in:
+1
-1
@@ -280,7 +280,7 @@ private:
|
||||
"Unsupported: String array operation on non-variable");
|
||||
}
|
||||
AstNode* newp;
|
||||
if (varrefp && varrefp->lvalue()) {
|
||||
if (varrefp && varrefp->access().isWrite()) {
|
||||
newp = new AstGetcRefN(nodep->fileline(), fromp, rhsp);
|
||||
} else {
|
||||
newp = new AstGetcN(nodep->fileline(), fromp, rhsp);
|
||||
|
||||
Reference in New Issue
Block a user