mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
461b1cc715
Before this commit DLATypeSystem used a std::set<std::unique_ptr<LayoutTypeSystemNode> to hold nodes, allowing heterogenous lookup with bare pointers, fast removal being a set, and providing address stability without requiring an ordering between LayoutTypeSystemNodes. The same requirements is now obtained more cleanly using with a BumpPtrAllocator for nodes, and a set of naked pointers to them to enable fast lookup and removal.