Add include guard to V3InstrCount.h. (#2075)

This is needed for cmake unity build to work.
This commit is contained in:
Kuba Ober
2019-12-30 06:04:03 +03:00
committed by W Snyder
parent ac1cdf7cdf
commit 7bbce51f7b
+5
View File
@@ -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