Index: src/store-buffer-inl.h |
diff --git a/src/store-buffer-inl.h b/src/store-buffer-inl.h |
index e1fcdee6618cbcfdb3e7dc8cd6d9f3a91494f086..7e5432c841318cdd0b49b3115dbc7df1bfda858d 100644 |
--- a/src/store-buffer-inl.h |
+++ b/src/store-buffer-inl.h |
@@ -41,6 +41,7 @@ Address StoreBuffer::TopAddress() { |
void StoreBuffer::Mark(Address addr) { |
ASSERT(!heap_->cell_space()->Contains(addr)); |
ASSERT(!heap_->code_space()->Contains(addr)); |
+ ASSERT(!heap_->old_data_space()->Contains(addr)); |
Address* top = reinterpret_cast<Address*>(heap_->store_buffer_top()); |
*top++ = addr; |
heap_->public_set_store_buffer_top(top); |