mirror of
https://github.com/verilator/verilator.git
synced 2026-09-01 10:27:04 +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:
+1
-1
@@ -114,7 +114,7 @@ private:
|
||||
AstWhile* const whilep = new AstWhile(fl, condp, nullptr, incp);
|
||||
initp->addNext(whilep);
|
||||
bodyp->replaceWith(initp);
|
||||
whilep->addBodysp(bodyp);
|
||||
whilep->addStmtsp(bodyp);
|
||||
|
||||
// Replace constant index with new loop index
|
||||
AstNode* const offsetp
|
||||
|
||||
Reference in New Issue
Block a user