mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
C++11: Use sized enums (+4% performance).
This commit is contained in:
+1
-1
@@ -122,7 +122,7 @@ public:
|
||||
int m_lastLineno = 0; // Last line number (stall detection)
|
||||
int m_tokensOnLine = 0; // Number of tokens on line (stall detection)
|
||||
|
||||
enum ProcState {
|
||||
enum ProcState : uint8_t {
|
||||
ps_TOP,
|
||||
ps_DEFNAME_UNDEF,
|
||||
ps_DEFNAME_DEFINE,
|
||||
|
||||
Reference in New Issue
Block a user