xo-interpreter/xo-alloc: GlobalEnv + mm -> shallow_copy()

This commit is contained in:
Roland Conybeare 2025-11-23 22:57:52 -05:00
commit 760bb556b2
4 changed files with 7 additions and 4 deletions

View file

@ -170,7 +170,7 @@ namespace xo {
*/
if (gc->fromspace_contains(src))
{
Object * dest = src->_shallow_copy();
Object * dest = src->_shallow_copy(gc);
if (dest != src)
src->_forward_to(dest);