mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 08:24:31 +02:00
Generate AstNode accessors via astgen
Introduce the @astgen directives parsed by astgen, currently used for the generation child node (operand) accessors. Please see the updated internal documentation for details.
This commit is contained in:
+2
-2
@@ -351,7 +351,7 @@ private:
|
||||
LifeBlock* const elseLifep = new LifeBlock(prevLifep, m_statep);
|
||||
{
|
||||
m_lifep = ifLifep;
|
||||
iterateAndNextNull(nodep->ifsp());
|
||||
iterateAndNextNull(nodep->thensp());
|
||||
}
|
||||
{
|
||||
m_lifep = elseLifep;
|
||||
@@ -386,7 +386,7 @@ private:
|
||||
}
|
||||
{
|
||||
m_lifep = bodyLifep;
|
||||
iterateAndNextNull(nodep->bodysp());
|
||||
iterateAndNextNull(nodep->stmtsp());
|
||||
iterateAndNextNull(nodep->incsp());
|
||||
}
|
||||
m_lifep = prevLifep;
|
||||
|
||||
Reference in New Issue
Block a user