Chromium Code Reviews| Index: src/objects-inl.h |
| =================================================================== |
| --- src/objects-inl.h (revision 6554) |
| +++ src/objects-inl.h (working copy) |
| @@ -802,10 +802,6 @@ |
| Heap::RecordWrite(object->address(), offset); \ |
| } else { \ |
| ASSERT(mode == SKIP_WRITE_BARRIER); \ |
| - ASSERT(Heap::InNewSpace(object) || \ |
|
Vyacheslav Egorov (Chromium)
2011/02/02 13:15:47
I there a way to rewrite this assertion to check t
Erik Corry
2011/02/03 13:21:17
I brought back the assert but hid it behind a --en
|
| - !Heap::InNewSpace(READ_FIELD(object, offset)) || \ |
| - Page::FromAddress(object->address())-> \ |
| - IsRegionDirty(object->address() + offset)); \ |
| } |
| #define READ_DOUBLE_FIELD(p, offset) \ |