| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 849ddbf9910a388d2610cc7b9e45ac189a21e0dd..b00a19459fc4c01c5083774d96593bdd70f5b1cb 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -679,6 +679,8 @@ bool Runtime::SetupArrayBuffer(Isolate* isolate,
|
| isolate->factory()->NewNumberFromSize(allocated_length);
|
| CHECK(byte_length->IsSmi() || byte_length->IsHeapNumber());
|
| array_buffer->set_byte_length(*byte_length);
|
| + array_buffer->set_next(Smi::FromInt(0));
|
| + array_buffer->set_first_array(Smi::FromInt(0));
|
| return true;
|
| }
|
|
|
|
|