| Index: src/heap/objects-visiting-inl.h
|
| diff --git a/src/heap/objects-visiting-inl.h b/src/heap/objects-visiting-inl.h
|
| index f02746d9cfb52feb69f1db72937c98746d905acd..7f83f483ba750e9e149da2c8ed580f5f6fe0dee0 100644
|
| --- a/src/heap/objects-visiting-inl.h
|
| +++ b/src/heap/objects-visiting-inl.h
|
| @@ -85,10 +85,6 @@
|
| heap,
|
| HeapObject::RawField(object, JSArrayBuffer::BodyDescriptor::kStartOffset),
|
| HeapObject::RawField(object, JSArrayBuffer::kSizeWithInternalFields));
|
| - if (!JSArrayBuffer::cast(object)->is_external()) {
|
| - heap->RegisterLiveArrayBuffer(true,
|
| - JSArrayBuffer::cast(object)->backing_store());
|
| - }
|
| return JSArrayBuffer::kSizeWithInternalFields;
|
| }
|
|
|
| @@ -508,8 +504,7 @@
|
| HeapObject::RawField(object, JSArrayBuffer::BodyDescriptor::kStartOffset),
|
| HeapObject::RawField(object, JSArrayBuffer::kSizeWithInternalFields));
|
| if (!JSArrayBuffer::cast(object)->is_external()) {
|
| - heap->RegisterLiveArrayBuffer(heap->InNewSpace(object),
|
| - JSArrayBuffer::cast(object)->backing_store());
|
| + heap->RegisterLiveArrayBuffer(JSArrayBuffer::cast(object)->backing_store());
|
| }
|
| }
|
|
|
|
|