From 07d86bf91dd44a7550233894e8c2d2b741aaf4ac Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Wed, 7 Feb 2024 19:56:32 -0500 Subject: [PATCH] Allow loop unrolling with coverage --- src/V3Simulate.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/V3Simulate.h b/src/V3Simulate.h index 35f0077a6..77d441c2a 100644 --- a/src/V3Simulate.h +++ b/src/V3Simulate.h @@ -1176,6 +1176,9 @@ private: } } + // Ignore coverage - from a function we're inlining + void visit(AstCoverInc* nodep) override {} + // ==== // Known Bad void visit(AstCMethodHard* nodep) override {