3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-05 22:06:04 +00:00

Create RTLIL::OwningIdString and use it in a few places

This commit is contained in:
Robert O'Callahan 2025-10-09 23:28:10 +00:00
parent 2ca7b2f7d7
commit b3f79ed8e7
2 changed files with 13 additions and 2 deletions

View file

@ -42,7 +42,7 @@ std::vector<uint32_t> RTLIL::IdString::global_refcount_storage_;
std::vector<int> RTLIL::IdString::global_free_idx_list_;
#endif
#define X(_id) const RTLIL::IdString RTLIL::IDInternal::_id(RTLIL::StaticId::_id);
#define X(_id) const RTLIL::OwningIdString RTLIL::IDInternal::_id(RTLIL::StaticId::_id);
#include "kernel/constids.inc"
#undef X