mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Fixed performance bug in object hashing
This commit is contained in:
parent
89723a45cf
commit
f3a97b75c7
2 changed files with 6 additions and 6 deletions
|
@ -712,7 +712,7 @@ struct RTLIL::Monitor
|
|||
unsigned int hash() const { return hashidx_; }
|
||||
|
||||
Monitor() {
|
||||
unsigned int hashidx_count = 0;
|
||||
static unsigned int hashidx_count = 0;
|
||||
hashidx_ = hashidx_count++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue