mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-21 13:16:41 +00:00
Remove StaticIdString and just use IdString now that we can make it constexpr
This commit is contained in:
parent
b0e2d75dbe
commit
b3f3f42577
2 changed files with 9 additions and 40 deletions
|
|
@ -42,10 +42,6 @@ std::unordered_map<int, int> RTLIL::IdString::global_refcount_storage_;
|
|||
std::vector<int> RTLIL::IdString::global_free_idx_list_;
|
||||
#endif
|
||||
|
||||
#define X(_id) const RTLIL::OwningIdString RTLIL::IDInternal::_id(RTLIL::StaticId::_id);
|
||||
#include "kernel/constids.inc"
|
||||
#undef X
|
||||
|
||||
static void populate(std::string_view name)
|
||||
{
|
||||
if (name[1] == '$') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue