Chromium Code Reviews| Index: src/mark-compact.h |
| =================================================================== |
| --- src/mark-compact.h (revision 7737) |
| +++ src/mark-compact.h (working copy) |
| @@ -59,6 +59,11 @@ |
| inline MarkBit MarkBitFrom(Address addr); |
| + // For embedding in generated code. |
| + inline Address new_space_bitmap() { |
| + return reinterpret_cast<Address>(new_space_bitmap_); |
| + } |
| + |
| inline MarkBit MarkBitFrom(HeapObject* obj) { |
| return MarkBitFrom(reinterpret_cast<Address>(obj)); |
| } |