| Index: src/runtime/runtime-typedarray.cc
|
| diff --git a/src/runtime/runtime-typedarray.cc b/src/runtime/runtime-typedarray.cc
|
| index 272bcda9f19368eedb6ca950883fda0ed422a02a..44a5e43c13f7225b5fd4034d44f818b1cf560a42 100644
|
| --- a/src/runtime/runtime-typedarray.cc
|
| +++ b/src/runtime/runtime-typedarray.cc
|
| @@ -127,7 +127,7 @@ RUNTIME_FUNCTION(Runtime_TypedArrayInitialize) {
|
| RUNTIME_ASSERT(byte_offset <= array_buffer_byte_length);
|
| RUNTIME_ASSERT(array_buffer_byte_length - byte_offset >= byte_length);
|
| } else {
|
| - RUNTIME_ASSERT(maybe_buffer->IsNull());
|
| + RUNTIME_ASSERT(maybe_buffer->IsNull(isolate));
|
| }
|
|
|
| RUNTIME_ASSERT(byte_length % element_size == 0);
|
| @@ -150,7 +150,7 @@ RUNTIME_FUNCTION(Runtime_TypedArrayInitialize) {
|
| holder->set_byte_offset(*byte_offset_object);
|
| holder->set_byte_length(*byte_length_object);
|
|
|
| - if (!maybe_buffer->IsNull()) {
|
| + if (!maybe_buffer->IsNull(isolate)) {
|
| Handle<JSArrayBuffer> buffer = Handle<JSArrayBuffer>::cast(maybe_buffer);
|
| holder->set_buffer(*buffer);
|
|
|
|
|