| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index b26f0102c894cc82739673b0dd57ffb9098ad54a..057e268f7ad0e6ec9f830b449b7963a5eda30934 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -996,7 +996,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_TypedArrayInitializeFromArrayLike) {
|
| JSArrayBuffer::cast(typed_array->buffer())->backing_store());
|
| size_t source_byte_offset =
|
| NumberToSize(isolate, typed_array->byte_offset());
|
| - OS::MemCopy(
|
| + memcpy(
|
| buffer->backing_store(),
|
| backing_store + source_byte_offset,
|
| byte_length);
|
|
|