Index: src/heap/store-buffer.cc |
diff --git a/src/heap/store-buffer.cc b/src/heap/store-buffer.cc |
index 2e5f720c9f78f4c312f56736b0e6e30ab6a56c64..5f21dbd753bc66db42463a4e112ccc40081e3f31 100644 |
--- a/src/heap/store-buffer.cc |
+++ b/src/heap/store-buffer.cc |
@@ -101,7 +101,10 @@ void StoreBuffer::MoveEntriesToRememberedSet(int index) { |
DCHECK_LT(index, kStoreBuffers); |
for (Address* current = start_[index]; current < lazy_top_[index]; |
current++) { |
- DCHECK(!heap_->code_space()->Contains(*current)); |
+ CHECK(!heap_->code_space()->Contains(*current)); |
+ CHECK(heap_->old_space()->Contains(*current) || |
+ heap_->map_space()->Contains(*current) || |
+ heap_->lo_space()->ContainsSlow(*current)); |
Address addr = *current; |
Page* page = Page::FromAnyPointerAddress(heap_, addr); |
if (IsDeletionAddress(addr)) { |