mirror of
https://github.com/verilator/verilator.git
synced 2025-01-15 02:54:03 +00:00
Remove dead code, no functional change
This commit is contained in:
parent
3a310f19f0
commit
160f3ee4a7
@ -1738,7 +1738,6 @@ void AstVoidDType::dumpSmall(std::ostream& str) const {
|
||||
}
|
||||
void AstVarScope::dump(std::ostream& str) const {
|
||||
this->AstNode::dump(str);
|
||||
if (isCircular()) str << " [CIRC]";
|
||||
if (isTrace()) str << " [T]";
|
||||
if (scopep()) str << " [scopep=" << reinterpret_cast<const void*>(scopep()) << "]";
|
||||
if (varp()) {
|
||||
|
@ -2415,7 +2415,6 @@ class AstVarScope final : public AstNode {
|
||||
private:
|
||||
AstScope* m_scopep; // Scope variable is underneath
|
||||
AstVar* m_varp; // [AfterLink] Pointer to variable itself
|
||||
bool m_circular : 1; // Used in circular ordering dependency, need change detect
|
||||
bool m_trace : 1; // Tracing is turned on for this scope
|
||||
public:
|
||||
AstVarScope(FileLine* fl, AstScope* scopep, AstVar* varp)
|
||||
@ -2424,7 +2423,6 @@ public:
|
||||
, m_varp{varp} {
|
||||
UASSERT_OBJ(scopep, fl, "Scope must be non-null");
|
||||
UASSERT_OBJ(varp, fl, "Var must be non-null");
|
||||
m_circular = false;
|
||||
m_trace = true;
|
||||
dtypeFrom(varp);
|
||||
}
|
||||
@ -2451,8 +2449,6 @@ public:
|
||||
// op1 = Calculation of value of variable, nullptr=complicated
|
||||
AstNode* valuep() const { return op1p(); }
|
||||
void valuep(AstNode* valuep) { addOp1p(valuep); }
|
||||
bool isCircular() const { return m_circular; }
|
||||
void circular(bool flag) { m_circular = flag; }
|
||||
bool isTrace() const { return m_trace; }
|
||||
void trace(bool flag) { m_trace = flag; }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user