Index: src/regexp-macro-assembler-irregexp.cc |
diff --git a/src/regexp-macro-assembler-irregexp.cc b/src/regexp-macro-assembler-irregexp.cc |
index d51fc1edf9662e68a0841a997bef3e41a26a7b0c..368fb3006cf735caa30b5febd923c5db51550b1c 100644 |
--- a/src/regexp-macro-assembler-irregexp.cc |
+++ b/src/regexp-macro-assembler-irregexp.cc |
@@ -434,7 +434,7 @@ int RegExpMacroAssemblerIrregexp::length() { |
void RegExpMacroAssemblerIrregexp::Copy(Address a) { |
- MemCopy(a, buffer_.start(), length()); |
+ OS::MemCopy(a, buffer_.start(), length()); |
} |
@@ -443,7 +443,7 @@ void RegExpMacroAssemblerIrregexp::Expand() { |
Vector<byte> old_buffer = buffer_; |
buffer_ = Vector<byte>::New(old_buffer.length() * 2); |
own_buffer_ = true; |
- MemCopy(buffer_.start(), old_buffer.start(), old_buffer.length()); |
+ OS::MemCopy(buffer_.start(), old_buffer.start(), old_buffer.length()); |
if (old_buffer_was_our_own) { |
old_buffer.Dispose(); |
} |