Fix mis-splitting of dump control functions (#4821).

This commit is contained in:
Wilson Snyder
2024-01-12 08:19:30 -05:00
parent fcdd8e5da6
commit 21bf2d62d2
3 changed files with 5 additions and 1 deletions
+2
View File
@@ -2072,6 +2072,7 @@ public:
string emitC() override { return "VL_VALUEPLUSARGS_%nq(%lw, %P, nullptr)"; }
bool isGateOptimizable() const override { return false; }
bool isPredictOptimizable() const override { return false; }
// but isPure() true
bool cleanOut() const override { return true; }
bool same(const AstNode* /*samep*/) const override { return true; }
};
@@ -3479,6 +3480,7 @@ public:
bool sizeMattersRhs() const override { return false; }
bool isGateOptimizable() const override { return false; }
bool isPredictOptimizable() const override { return false; }
bool isPure() override { return false; }
int instrCount() const override { return INSTR_COUNT_PLI; }
};
+2 -1
View File
@@ -2840,8 +2840,9 @@ public:
ASTGEN_MEMBERS_AstDumpCtl;
string verilogKwd() const override { return ctlType().ascii(); }
bool isGateOptimizable() const override { return false; }
bool isPredictOptimizable() const override { return false; }
bool isOutputter() override { return true; }
bool isPredictOptimizable() const override { return false; }
bool isPure() override { return false; }
virtual bool cleanOut() const { return true; }
bool same(const AstNode* /*samep*/) const override { return true; }
VDumpCtlType ctlType() const { return m_ctlType; }