From 9dcb7ea6a962cdbc9c72a94d421da8169636ec08 Mon Sep 17 00:00:00 2001 From: Geza Lore Date: Fri, 1 Mar 2024 12:51:23 +0000 Subject: [PATCH] Fix minor V3DfgPatternStats coding issues --- src/CMakeLists.txt | 1 + src/V3DfgPatternStats.h | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index db970c21a..458e87631 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -64,6 +64,7 @@ set(HEADERS V3Dfg.h V3DfgOptimizer.h V3DfgPasses.h + V3DfgPatternStats.h V3DfgPeephole.h V3DfgVertices.h V3DupFinder.h diff --git a/src/V3DfgPatternStats.h b/src/V3DfgPatternStats.h index 595823dce..cd511a6fc 100644 --- a/src/V3DfgPatternStats.h +++ b/src/V3DfgPatternStats.h @@ -14,10 +14,10 @@ // //************************************************************************* -#include "V3PchAstNoMT.h" +#ifndef VERILATOR_V3DFGPATTERNSTATS_H_ +#define VERILATOR_V3DFGPATTERNSTATS_H_ #include "V3Dfg.h" -#include "V3DfgPasses.h" #include #include @@ -195,3 +195,5 @@ public: } } }; + +#endif