mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Use AstNode::addHereThisAsNext in a few places
This commit is contained in:
+1
-4
@@ -109,10 +109,7 @@ private:
|
||||
} else if (m_inTracep) {
|
||||
m_inTracep->addPrecondsp(newp);
|
||||
} else if (m_stmtp) {
|
||||
VNRelinker linker;
|
||||
m_stmtp->unlinkFrBack(&linker);
|
||||
newp->addNext(m_stmtp);
|
||||
linker.relink(newp);
|
||||
m_stmtp->addHereThisAsNext(newp);
|
||||
} else {
|
||||
newp->v3fatalSrc("No statement insertion point.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user