Chromium Code Reviews| Index: src/mark-compact.h |
| =================================================================== |
| --- src/mark-compact.h (revision 7619) |
| +++ src/mark-compact.h (working copy) |
| @@ -75,6 +75,11 @@ |
| } |
| } |
| + // 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); |