| Index: src/heap/store-buffer-inl.h
|
| diff --git a/src/heap/store-buffer-inl.h b/src/heap/store-buffer-inl.h
|
| index 30663752895d0dd7a2bd5f02a6defd162e1c654f..806680e145d43ac066d6d92e59a757d4ff957c0c 100644
|
| --- a/src/heap/store-buffer-inl.h
|
| +++ b/src/heap/store-buffer-inl.h
|
| @@ -16,6 +16,7 @@
|
|
|
|
|
| void StoreBuffer::Mark(Address addr) {
|
| + DCHECK(!heap_->cell_space()->Contains(addr));
|
| DCHECK(!heap_->code_space()->Contains(addr));
|
| Address* top = reinterpret_cast<Address*>(heap_->store_buffer_top());
|
| *top++ = addr;
|
| @@ -31,7 +32,8 @@
|
|
|
| void StoreBuffer::EnterDirectlyIntoStoreBuffer(Address addr) {
|
| if (store_buffer_rebuilding_enabled_) {
|
| - SLOW_DCHECK(!heap_->code_space()->Contains(addr) &&
|
| + SLOW_DCHECK(!heap_->cell_space()->Contains(addr) &&
|
| + !heap_->code_space()->Contains(addr) &&
|
| !heap_->new_space()->Contains(addr));
|
| Address* top = old_top_;
|
| *top++ = addr;
|
|
|