Chromium Code Reviews| Index: src/mark-compact.h |
| =================================================================== |
| --- src/mark-compact.h (revision 7619) |
| +++ src/mark-compact.h (working copy) |
| @@ -75,6 +75,12 @@ |
| } |
| } |
| + |
|
Vyacheslav Egorov (Chromium)
2011/04/16 17:50:36
remove empty line
Erik Corry
2011/04/23 17:00:11
Done.
|
| + // For embedding in generated code. |
| + static inline Address new_space_bitmap() { |
| + return reinterpret_cast<Address>(new_space_bitmap_); |
| + } |
| + |
| static void ClearRange(Address addr, int size) { |
| if (Heap::InNewSpace(addr)) { |
| uint32_t index = Heap::new_space()->AddressToMarkbitIndex(addr); |