| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index eccf6ea4c8c762a98b23b8690e7a52c9b072b75c..83b3688ac2bcd823b7bdad0cb3b0eb82a3526658 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -691,7 +691,7 @@ void Runtime::SetupArrayBuffer(Isolate* isolate,
|
|
|
| array_buffer->set_weak_next(isolate->heap()->array_buffers_list());
|
| isolate->heap()->set_array_buffers_list(*array_buffer);
|
| - array_buffer->set_weak_first_array(Smi::FromInt(0));
|
| + array_buffer->set_weak_first_array(isolate->heap()->undefined_value());
|
| }
|
|
|
|
|
|
|