refactor focusing on xo-alloc2/ xo-gc/ write-barrier
ability to inform allocator of gco->gco mutation, via AAllocator i/face.
This commit is contained in:
parent
f79e44a2b9
commit
f7ab6beff0
54 changed files with 320 additions and 144 deletions
|
|
@ -178,7 +178,7 @@ namespace xo {
|
|||
DExpectQArraySsm::on_quoted_literal(obj<AGCObject> lit,
|
||||
ParserStateMachine * p_psm)
|
||||
{
|
||||
auto gc = p_psm->expr_alloc().try_to_facet<ACollector>();
|
||||
//auto gc = p_psm->expr_alloc().try_to_facet<ACollector>();
|
||||
|
||||
if(state_.code() == QArrayXst::code::qarray_1a) {
|
||||
// append lit at the end of array_
|
||||
|
|
@ -195,7 +195,7 @@ namespace xo {
|
|||
2 * array_->capacity());
|
||||
}
|
||||
|
||||
bool ok = array_->push_back(gc, lit);
|
||||
bool ok = array_->push_back(p_psm->expr_alloc(), lit);
|
||||
|
||||
assert(ok);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue