Index: runtime/vm/store_buffer.cc |
=================================================================== |
--- runtime/vm/store_buffer.cc (revision 9795) |
+++ runtime/vm/store_buffer.cc (working copy) |
@@ -63,6 +63,7 @@ |
void StoreBuffer::AddPointer(uword address) { |
ASSERT(dedup_sets_ != NULL); |
+ ASSERT(Isolate::Current()->heap()->OldContains(address)); |
if (!dedup_sets_->set()->Add(address)) { |
// Add a new DedupSet. Schedule an interrupt if we have run over the max |
// number of DedupSets. |