xo-interpreter: Object->TaggedPtr conversion (prep for primitives)
This commit is contained in:
parent
22670cda3d
commit
4488117ac3
16 changed files with 371 additions and 26 deletions
|
|
@ -144,7 +144,7 @@ namespace xo {
|
|||
if (owner_ == owner::unique) {
|
||||
std::byte * mem = reinterpret_cast<std::byte *>(chars_);
|
||||
|
||||
copy->chars_ = reinterpret_cast<char *>(Object::mm->alloc_gc_copy(z_chars_, mem));
|
||||
copy->chars_ = reinterpret_cast<char *>(mm->alloc_gc_copy(z_chars_, mem));
|
||||
strlcpy(copy->chars_, chars_, z_chars_);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue