mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Use VN_AS wherever possible and obvious. No functional change.
This commit is contained in:
+2
-2
@@ -187,8 +187,8 @@ private:
|
||||
void squashAssignposts() {
|
||||
for (auto& itr : m_assignposts) {
|
||||
LifePostLocation* app = &itr.second;
|
||||
AstVarRef* lhsp = VN_CAST(app->nodep->lhsp(), VarRef); // original var
|
||||
AstVarRef* rhsp = VN_CAST(app->nodep->rhsp(), VarRef); // dly var
|
||||
AstVarRef* lhsp = VN_AS(app->nodep->lhsp(), VarRef); // original var
|
||||
AstVarRef* rhsp = VN_AS(app->nodep->rhsp(), VarRef); // dly var
|
||||
AstVarScope* dlyVarp = rhsp->varScopep();
|
||||
AstVarScope* origVarp = lhsp->varScopep();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user