3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-12 02:04:44 +00:00

fixup! rtlil: less sketchy IdString interner lifetime

This commit is contained in:
Emil J. Tywoniak 2025-04-24 11:42:17 +02:00
parent 6e91f402df
commit 272b7fa697
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ namespace RTLIL
typedef std::pair<SigSpec, SigSpec> SigSig; typedef std::pair<SigSpec, SigSpec> SigSig;
}; };
#define YOSYS_XTRACE_GET_PUT #undef YOSYS_XTRACE_GET_PUT
#undef YOSYS_SORT_ID_FREE_LIST #undef YOSYS_SORT_ID_FREE_LIST
#undef YOSYS_USE_STICKY_IDS #undef YOSYS_USE_STICKY_IDS
#undef YOSYS_NO_IDS_REFCNT #undef YOSYS_NO_IDS_REFCNT

View file

@ -185,7 +185,7 @@ void yosys_setup()
if(already_setup) if(already_setup)
return; return;
already_setup = true; already_setup = true;
(void)Interner::instance(); (void)Interner::get();
#ifdef WITH_PYTHON #ifdef WITH_PYTHON
// With Python 3.12, calling PyImport_AppendInittab on an already // With Python 3.12, calling PyImport_AppendInittab on an already