xo-interpreter/xo-alloc: GlobalEnv + mm -> shallow_copy()
This commit is contained in:
parent
eec5bc0981
commit
760bb556b2
4 changed files with 7 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue