| Index: src/jsregexp.cc
|
| diff --git a/src/jsregexp.cc b/src/jsregexp.cc
|
| index b490521bc07635d85c048efa94a112570695373e..fd87a805399409d6afe12ab38bbc87649f84b451 100644
|
| --- a/src/jsregexp.cc
|
| +++ b/src/jsregexp.cc
|
| @@ -624,7 +624,8 @@ int RegExpImpl::IrregexpExecRaw(Handle<JSRegExp> regexp,
|
| index);
|
| if (result == RE_SUCCESS) {
|
| // Copy capture results to the start of the registers array.
|
| - memcpy(output, raw_output, number_of_capture_registers * sizeof(int32_t));
|
| + OS::MemCopy(
|
| + output, raw_output, number_of_capture_registers * sizeof(int32_t));
|
| }
|
| if (result == RE_EXCEPTION) {
|
| ASSERT(!isolate->has_pending_exception());
|
|
|