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:
parent
6e91f402df
commit
272b7fa697
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue