tidy: drop stale ACollector comments
This commit is contained in:
parent
6ca5928088
commit
7ddeaaeea5
3 changed files with 0 additions and 9 deletions
|
|
@ -111,8 +111,6 @@ namespace xo {
|
||||||
{
|
{
|
||||||
scope log(XO_DEBUG(false), std::string_view(*var->name()));
|
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
|
// It's possible there's already a global variable
|
||||||
// with the same name.
|
// with the same name.
|
||||||
//
|
//
|
||||||
|
|
@ -197,8 +195,6 @@ namespace xo {
|
||||||
scope log(XO_DEBUG(true),
|
scope log(XO_DEBUG(true),
|
||||||
std::string_view(*tname->name()));
|
std::string_view(*tname->name()));
|
||||||
|
|
||||||
//auto gc = mm.try_to_facet<ACollector>();
|
|
||||||
|
|
||||||
auto ix = type_map_->find(tname->name());
|
auto ix = type_map_->find(tname->name());
|
||||||
|
|
||||||
if (ix == type_map_->end()) {
|
if (ix == type_map_->end()) {
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,6 @@ namespace xo {
|
||||||
|
|
||||||
DVariable * var = DVariable::make(mm, name, typeref, binding);
|
DVariable * var = DVariable::make(mm, name, typeref, binding);
|
||||||
|
|
||||||
//auto gc = mm.try_to_facet<ACollector>();
|
|
||||||
vars_->push_back(mm, obj<AGCObject,DVariable>(var));
|
vars_->push_back(mm, obj<AGCObject,DVariable>(var));
|
||||||
|
|
||||||
return binding;
|
return binding;
|
||||||
|
|
@ -89,7 +88,6 @@ namespace xo {
|
||||||
} else {
|
} else {
|
||||||
obj<AGCObject> tname = DTypename::make(mm, name, type);
|
obj<AGCObject> tname = DTypename::make(mm, name, type);
|
||||||
|
|
||||||
//auto gc = mm.try_to_facet<ACollector>();
|
|
||||||
types_->push_back(mm, tname);
|
types_->push_back(mm, tname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -72,9 +72,6 @@ namespace xo {
|
||||||
DSequenceExpr::push_back(obj<AAllocator> mm,
|
DSequenceExpr::push_back(obj<AAllocator> mm,
|
||||||
obj<AExpression> expr)
|
obj<AExpression> expr)
|
||||||
{
|
{
|
||||||
// null gc -> no write barrier
|
|
||||||
//obj<ACollector> gc = mm.try_to_facet<ACollector>();
|
|
||||||
|
|
||||||
if (expr_v_->size() == expr_v_->capacity()) {
|
if (expr_v_->size() == expr_v_->capacity()) {
|
||||||
/* reallocate+expand */
|
/* reallocate+expand */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue