3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-18 21:25:47 +00:00

rtlil: replace AttrObject::meta_idx_ with ObjMeta pointer

This commit is contained in:
Emil J. Tywoniak 2026-06-05 18:50:58 +02:00
parent cfd7edc608
commit 8f8a07efee
4 changed files with 100 additions and 146 deletions

View file

@ -952,7 +952,7 @@ struct RTLILFrontendWorker {
// meta_idx_ is a weak ref — drop ours so the pushed copy
// in the vector is the sole holder. Process::~Process
// walks the tree to actually release.
act.meta_idx_ = RTLIL::AttrObject::NO_META;
act.meta_ = nullptr;
expect_eol();
}
// The old parser allowed dangling attributes before a "sync" to carry through