mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix queue element access (#5551)
This commit is contained in:
@@ -311,6 +311,7 @@ class LinkLValueVisitor final : public VNVisitor {
|
||||
}
|
||||
}
|
||||
void visit(AstNodePreSel* nodep) override {
|
||||
if (AstSelBit* const selbitp = VN_CAST(nodep, SelBit)) selbitp->access(m_setRefLvalue);
|
||||
VL_RESTORER(m_setRefLvalue);
|
||||
{ // Only set lvalues on the from
|
||||
iterateAndNextNull(nodep->fromp());
|
||||
|
||||
Reference in New Issue
Block a user