mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 05:08:56 +00:00
More improvements and cleanups in IdString subsystem
- better use of "inline" keyword - deprecate "sticky" IDs feature - improve handling of empty ID - add move constructor Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
6995914f3f
commit
8222c5735e
3 changed files with 54 additions and 43 deletions
|
@ -33,8 +33,10 @@ std::vector<int> RTLIL::IdString::global_refcount_storage_;
|
|||
std::vector<char*> RTLIL::IdString::global_id_storage_;
|
||||
dict<char*, int, hash_cstr_ops> RTLIL::IdString::global_id_index_;
|
||||
std::vector<int> RTLIL::IdString::global_free_idx_list_;
|
||||
#ifdef YOSYS_USE_STICKY_IDS
|
||||
int RTLIL::IdString::last_created_idx_[8];
|
||||
int RTLIL::IdString::last_created_idx_ptr_;
|
||||
#endif
|
||||
|
||||
RTLIL::Const::Const()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue