Index: src/jsregexp.cc |
diff --git a/src/jsregexp.cc b/src/jsregexp.cc |
index 01140e830a35726f657956947e3c65beeca1de39..ae338d0c0ed30b62395edff54304bae6bdb1a028 100644 |
--- a/src/jsregexp.cc |
+++ b/src/jsregexp.cc |
@@ -604,7 +604,8 @@ int RegExpImpl::IrregexpExecRaw(Handle<JSRegExp> regexp, |
index); |
if (result == RE_SUCCESS) { |
// Copy capture results to the start of the registers array. |
- MemCopy(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()); |