mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Add include guard to V3InstrCount.h. (#2075)
This is needed for cmake unity build to work.
This commit is contained in:
@@ -19,6 +19,9 @@
|
||||
//
|
||||
//*************************************************************************
|
||||
|
||||
#ifndef _V3INSTRCOUNT_H_
|
||||
#define _V3INSTRCOUNT_H_ 1
|
||||
|
||||
#include "config_build.h"
|
||||
#include "verilatedos.h"
|
||||
|
||||
@@ -41,3 +44,5 @@ public:
|
||||
// Optional osp is stream to dump critical path to.
|
||||
static uint32_t count(AstNode* nodep, bool assertNoDups, std::ostream* osp = NULL);
|
||||
};
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user