From 665fa140a8425d7f3c71bb9d648377fe3e45cd76 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Sun, 27 Feb 2022 12:48:55 +0000 Subject: [PATCH] V3Combine: Fix crash if CCall in expression position --- src/V3Combine.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/V3Combine.cpp b/src/V3Combine.cpp index 3514cf99d..b057306ac 100644 --- a/src/V3Combine.cpp +++ b/src/V3Combine.cpp @@ -102,9 +102,7 @@ private: "Don't know how to combine functions that are referenced via AstAddrOfCFunc"); } // LCOV_EXCL_END - // Speed things up - virtual void visit(AstNodeAssign*) override {} - virtual void visit(AstNodeMath*) override {} + virtual void visit(AstNode* nodep) override { iterateChildren(nodep); } public: