| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index 59c417f5b7c92ef548e2370703f94109dc670a66..510ceb1ac9631e4ebb9fc97f2f958fb0d3fccf2d 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -52,6 +52,7 @@ void Runtime::SetupArrayBuffer(Isolate* isolate,
|
| array_buffer->set_byte_length(*byte_length);
|
|
|
| array_buffer->set_weak_next(isolate->heap()->array_buffers_list());
|
| + CHECK(isolate->heap()->InNewSpace(*array_buffer));
|
| isolate->heap()->set_array_buffers_list(*array_buffer);
|
| array_buffer->set_weak_first_view(isolate->heap()->undefined_value());
|
| }
|
|
|