Chromium Code Reviews| Index: src/spaces.h |
| =================================================================== |
| --- src/spaces.h (revision 2674) |
| +++ src/spaces.h (working copy) |
| @@ -1550,7 +1550,7 @@ |
| // Give a fixed sized block of memory to the space's free list. |
| void Free(Address start) { |
| free_list_.Free(start); |
| - accounting_stats_.DeallocateBytes(Map::kSize); |
| + accounting_stats_.DeallocateBytes(object_size_in_bytes_); |
| } |
| // Prepares for a mark-compact GC. |