mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
Fix internals to make null-pointer-check clean. Also add more const's. No functional change intended, but likely something will break.
This commit is contained in:
+2
-2
@@ -148,8 +148,8 @@ private:
|
||||
}
|
||||
}
|
||||
virtual void visit(AstAssignPost* nodep) {
|
||||
if (AstVarRef* lhsp = nodep->lhsp()->castVarRef()) {
|
||||
if (AstVarRef* rhsp = nodep->rhsp()->castVarRef()) {
|
||||
if (AstVarRef* lhsp = VN_CAST(nodep->lhsp(), VarRef)) {
|
||||
if (AstVarRef* rhsp = VN_CAST(nodep->rhsp(), VarRef)) {
|
||||
// Scrunch these:
|
||||
// __Vdly__q = __PVT__clk_clocks;
|
||||
// ... {no reads or writes of __PVT__q after the first write to __Vdly__q}
|
||||
|
||||
Reference in New Issue
Block a user