mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 09:33:41 +02:00
Internals: Fix missing semis; no functional change
This commit is contained in:
+1
-1
@@ -578,7 +578,7 @@ class CaseVisitor final : public VNVisitor {
|
||||
}
|
||||
//--------------------
|
||||
void visit(AstAlways* nodep) override {
|
||||
VL_RESTORER(m_alwaysp)
|
||||
VL_RESTORER(m_alwaysp);
|
||||
m_alwaysp = nodep;
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
|
||||
+1
-1
@@ -284,7 +284,7 @@ public:
|
||||
if (nodep->emptyBody() && !nodep->isLoose()) return;
|
||||
VL_RESTORER(m_useSelfForThis);
|
||||
VL_RESTORER(m_cfuncp);
|
||||
VL_RESTORER(m_instantiatesOwnProcess)
|
||||
VL_RESTORER(m_instantiatesOwnProcess);
|
||||
m_cfuncp = nodep;
|
||||
m_instantiatesOwnProcess = false;
|
||||
|
||||
|
||||
+2
-2
@@ -619,7 +619,7 @@ class ForkVisitor final : public VNVisitor {
|
||||
|
||||
VL_RESTORER(m_forkLocalsp);
|
||||
VL_RESTORER(m_newProcess);
|
||||
VL_RESTORER(m_forkDepth)
|
||||
VL_RESTORER(m_forkDepth);
|
||||
if (!nodep->joinType().join()) {
|
||||
++m_forkDepth;
|
||||
m_newProcess = true;
|
||||
@@ -681,7 +681,7 @@ class ForkVisitor final : public VNVisitor {
|
||||
iterateChildren(nodep);
|
||||
}
|
||||
void visit(AstNode* nodep) override {
|
||||
VL_RESTORER(m_newProcess)
|
||||
VL_RESTORER(m_newProcess);
|
||||
VL_RESTORER(m_forkDepth);
|
||||
if (nodep->user1()) --m_forkDepth;
|
||||
m_newProcess = false;
|
||||
|
||||
+1
-1
@@ -219,7 +219,7 @@ class GateBuildVisitor final : public VNVisitorConst {
|
||||
const char* consumeReason = nullptr) {
|
||||
UASSERT_OBJ(m_scopep, nodep, "Logic not under Scope");
|
||||
UASSERT_OBJ(!m_logicVertexp, nodep, "Logic blocks should not nest");
|
||||
VL_RESTORER(m_logicVertexp)
|
||||
VL_RESTORER(m_logicVertexp);
|
||||
|
||||
// m_activep is null under AstCFunc's, that's ok.
|
||||
m_logicVertexp = new GateLogicVertex{m_graphp, nodep, m_activep, slow};
|
||||
|
||||
Reference in New Issue
Block a user