tidy: drop stale ACollector comments

This commit is contained in:
Roland Conybeare 2026-05-02 13:58:22 -04:00
commit 7ddeaaeea5
3 changed files with 0 additions and 9 deletions

View file

@ -111,8 +111,6 @@ namespace xo {
{
scope log(XO_DEBUG(false), std::string_view(*var->name()));
//auto gc = mm.try_to_facet<ACollector>();
// It's possible there's already a global variable
// with the same name.
//
@ -197,8 +195,6 @@ namespace xo {
scope log(XO_DEBUG(true),
std::string_view(*tname->name()));
//auto gc = mm.try_to_facet<ACollector>();
auto ix = type_map_->find(tname->name());
if (ix == type_map_->end()) {

View file

@ -70,7 +70,6 @@ namespace xo {
DVariable * var = DVariable::make(mm, name, typeref, binding);
//auto gc = mm.try_to_facet<ACollector>();
vars_->push_back(mm, obj<AGCObject,DVariable>(var));
return binding;
@ -89,7 +88,6 @@ namespace xo {
} else {
obj<AGCObject> tname = DTypename::make(mm, name, type);
//auto gc = mm.try_to_facet<ACollector>();
types_->push_back(mm, tname);
}
}

View file

@ -72,9 +72,6 @@ namespace xo {
DSequenceExpr::push_back(obj<AAllocator> mm,
obj<AExpression> expr)
{
// null gc -> no write barrier
//obj<ACollector> gc = mm.try_to_facet<ACollector>();
if (expr_v_->size() == expr_v_->capacity()) {
/* reallocate+expand */