| Index: src/heap/store-buffer.cc
|
| diff --git a/src/heap/store-buffer.cc b/src/heap/store-buffer.cc
|
| index c3c38c2eace216362b4799113313898ee0165f3d..dec11daa90674b922d1a5510abd637323c08d654 100644
|
| --- a/src/heap/store-buffer.cc
|
| +++ b/src/heap/store-buffer.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "src/v8.h"
|
|
|
| -#include "src/base/atomicops.h"
|
| #include "src/counters.h"
|
| #include "src/heap/store-buffer-inl.h"
|
|
|
| @@ -363,10 +362,7 @@ void StoreBuffer::ClearInvalidStoreBufferEntries() {
|
| for (Address* current = old_start_; current < old_top_; current++) {
|
| Address addr = *current;
|
| Object** slot = reinterpret_cast<Object**>(*current);
|
| - // Use a NoBarrier_Load here since the slot can be in a dead object
|
| - // which may be touched by the concurrent sweeper thread.
|
| - Object* object = reinterpret_cast<Object*>(
|
| - base::NoBarrier_Load(reinterpret_cast<base::AtomicWord*>(slot)));
|
| + Object* object = *slot;
|
| if (heap_->InNewSpace(object)) {
|
| if (heap_->mark_compact_collector()->IsSlotInLiveObject(
|
| reinterpret_cast<HeapObject**>(slot),
|
|
|