mirror of
https://github.com/verilator/verilator.git
synced 2025-01-08 15:47:36 +00:00
Rename AstCFunc attribute for clarity.
'formCallTree' -> 'isFinal'. No functional change.
This commit is contained in:
parent
818aaa8b89
commit
fb9119ff49
@ -476,7 +476,7 @@ private:
|
||||
m_scopeFinalp = new AstCFunc(
|
||||
nodep->fileline(), "_final_" + m_namer.scopep()->nameDotless(), m_namer.scopep());
|
||||
m_scopeFinalp->dontCombine(true);
|
||||
m_scopeFinalp->formCallTree(true);
|
||||
m_scopeFinalp->isFinal(true);
|
||||
m_scopeFinalp->isStatic(false);
|
||||
m_scopeFinalp->isLoose(true);
|
||||
m_scopeFinalp->slow(true);
|
||||
|
@ -8874,7 +8874,7 @@ private:
|
||||
bool m_isTrace : 1; // Function is related to tracing
|
||||
bool m_dontCombine : 1; // V3Combine shouldn't compare this func tree, it's special
|
||||
bool m_declPrivate : 1; // Declare it private
|
||||
bool m_formCallTree : 1; // Make a global function to call entire tree of functions
|
||||
bool m_isFinal : 1; // This is a function corresponding to a SystemVerilog 'final' block
|
||||
bool m_slow : 1; // Slow routine, called once or just at init time
|
||||
bool m_funcPublic : 1; // From user public task/function
|
||||
bool m_isConstructor : 1; // Is C class constructor
|
||||
@ -8903,7 +8903,7 @@ public:
|
||||
m_isTrace = false;
|
||||
m_dontCombine = false;
|
||||
m_declPrivate = false;
|
||||
m_formCallTree = false;
|
||||
m_isFinal = false;
|
||||
m_slow = false;
|
||||
m_funcPublic = false;
|
||||
m_isConstructor = false;
|
||||
@ -8961,8 +8961,8 @@ public:
|
||||
bool dontInline() const { return dontCombine() || slow() || funcPublic(); }
|
||||
bool declPrivate() const { return m_declPrivate; }
|
||||
void declPrivate(bool flag) { m_declPrivate = flag; }
|
||||
bool formCallTree() const { return m_formCallTree; }
|
||||
void formCallTree(bool flag) { m_formCallTree = flag; }
|
||||
bool isFinal() const { return m_isFinal; }
|
||||
void isFinal(bool flag) { m_isFinal = flag; }
|
||||
bool slow() const { return m_slow; }
|
||||
void slow(bool flag) { m_slow = flag; }
|
||||
bool funcPublic() const { return m_funcPublic; }
|
||||
|
@ -322,8 +322,8 @@ private:
|
||||
virtual void visit(AstCFunc* nodep) override {
|
||||
iterateChildren(nodep);
|
||||
// Link to global function
|
||||
if (nodep->formCallTree()) {
|
||||
UINFO(4, " formCallTree " << nodep << endl);
|
||||
if (nodep->isFinal()) {
|
||||
UINFO(4, " isFinal " << nodep << endl);
|
||||
AstCCall* const callp = new AstCCall(nodep->fileline(), nodep);
|
||||
m_finalFuncp->addStmtsp(callp);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user