Fix dynamic cast purity (#6267)

Signed-off-by: Igor Zaworski <[email protected]>
This commit is contained in:
Igor Zaworski
2025-08-06 07:09:44 -04:00
committed by GitHub
parent fbaff52668
commit 6c1cfc68cf
3 changed files with 52 additions and 1 deletions
+1 -1
View File
@@ -2465,7 +2465,7 @@ public:
bool sizeMattersLhs() const override { return false; }
bool sizeMattersRhs() const override { return false; }
int instrCount() const override { return widthInstrs() * 20; }
bool isPure() override { return true; }
bool isPure() override { return false; }
};
class AstCompareNN final : public AstNodeBiop {
// Verilog str.compare() and str.icompare()