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
Doug Coleman 2015-08-14 11:15:55 -07:00
parent 1602e5094c
commit 9f43820076
1 changed files with 1 additions and 1 deletions

View File

@ -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);