3
0
Fork 0
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:
Robert O'Callahan 2025-10-14 01:00:20 +00:00 committed by Emil J. Tywoniak
parent b0e2d75dbe
commit b3f3f42577
2 changed files with 9 additions and 40 deletions

View file

@ -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] == '$') {