mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 18:42:58 +02:00
Strengthen AstNode types to AstNodeExpr
Declare every AstNode children and variables as AstNodeExpr where we statically know this is the appropriate sub-type.
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ private:
|
||||
|
||||
// METHODS
|
||||
|
||||
void createDeepTemp(AstNode* nodep) {
|
||||
void createDeepTemp(AstNodeExpr* nodep) {
|
||||
UINFO(6, " Deep " << nodep << endl);
|
||||
// if (debug() >= 9) nodep->dumpTree(cout, "deep:");
|
||||
AstVar* const varp = new AstVar{nodep->fileline(), VVarType::STMTTEMP,
|
||||
|
||||
Reference in New Issue
Block a user