Revert "vm: don't use implicit this. thanks to Jon Harper for the report."
My bad. A buggy compiler is a buggy compiler. Not a good workaround.
This reverts commit 1602e5094c
.
db4
parent
1602e5094c
commit
9f43820076
|
@ -134,7 +134,7 @@ void free_list_allocator<Block>::compact(Iterator& iter, Fixup fixup,
|
|||
cell dest_addr = start;
|
||||
auto compact_block_func = [&](Block* block, cell size) {
|
||||
cell block_addr = (cell)block;
|
||||
if (!this->state.marked_p(block_addr))
|
||||
if (!state.marked_p(block_addr))
|
||||
return;
|
||||
*finger = (Block*)(block_addr + size);
|
||||
memmove((Block*)dest_addr, block, size);
|
||||
|
|
Loading…
Reference in New Issue