| Index: src/heap-inl.h
|
| diff --git a/src/heap-inl.h b/src/heap-inl.h
|
| index e0aec4290e5424d1961ef63f4da6c337ac079318..52d8c23851ec139a4904c4abdd2594fed7b5b6ac 100644
|
| --- a/src/heap-inl.h
|
| +++ b/src/heap-inl.h
|
| @@ -416,11 +416,6 @@ void Heap::ScavengeObject(HeapObject** p, HeapObject* object) {
|
| HeapObject* dest = first_word.ToForwardingAddress();
|
| ASSERT(HEAP->InFromSpace(*p));
|
| *p = dest;
|
| - Address slot = reinterpret_cast<Address>(p);
|
| - if (HEAP->InNewSpace(dest) && !HEAP->InNewSpace(slot)) {
|
| - ASSERT(HEAP->InToSpace(dest));
|
| - HEAP->store_buffer_.EnterDirectlyIntoStoreBuffer(slot);
|
| - }
|
| return;
|
| }
|
|
|
|
|