xo-reader2 stack: streamline + mem sizing + bugfixes

This commit is contained in:
Roland Conybeare 2026-02-15 16:16:02 -05:00
commit 1918dd06e5
2 changed files with 5 additions and 5 deletions

View file

@ -43,9 +43,9 @@ namespace xo {
* Use memory from @p mm for DGlobalSymtab instance.
* Hashmap configured per @p cfg.
**/
dp<DGlobalSymtab> make(obj<AAllocator> fixed_mm,
obj<AAllocator> mm,
const ArenaHashMapConfig & cfg);
static dp<DGlobalSymtab> make(obj<AAllocator> mm,
obj<AAllocator> fixed_mm,
const ArenaHashMapConfig & cfg);
/** non-trivial destructor for @ref map_ **/
~DGlobalSymtab() = default;

View file

@ -25,8 +25,8 @@ namespace xo {
}
dp<DGlobalSymtab>
DGlobalSymtab::make(obj<AAllocator> aux_mm,
obj<AAllocator> mm,
DGlobalSymtab::make(obj<AAllocator> mm,
obj<AAllocator> aux_mm,
const ArenaHashMapConfig & cfg)
{
auto map = dp<repr_type>::make(aux_mm, cfg);