diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index bc89fc6a4..d18a709c9 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -130,7 +130,7 @@ int RTLIL::IdString::really_insert(std::string_view p, std::unordered_map(size)}; } }; - #undef YOSYS_XTRACE_GET_PUT - #undef YOSYS_SORT_ID_FREE_LIST - #undef YOSYS_NO_IDS_REFCNT - // the global id string cache static bool destruct_guard_ok; // POD, will be initialized to zero @@ -178,7 +174,7 @@ struct RTLIL::IdString if (global_id_storage_.at(idx).buf == nullptr) log("#X# DB-DUMP index %d: FREE\n", idx); else - log("#X# DB-DUMP index %d: '%s' (ref %u)\n", idx, refcount(idx).buf, refcount); + log("#X# DB-DUMP index %d: '%s' (ref %u)\n", idx, global_id_storage_.at(idx).buf, refcount(idx)); } #endif }