Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index eee1584cf1fa5c34e870568f8b58b8672a47b0a1..20d801bd8868f29ceb72df7a1643d0f38f566ebe 100644 |
--- a/src/x64/assembler-x64.cc |
+++ b/src/x64/assembler-x64.cc |
@@ -485,9 +485,9 @@ void Assembler::GrowBuffer() { |
intptr_t pc_delta = desc.buffer - buffer_; |
intptr_t rc_delta = (desc.buffer + desc.buffer_size) - |
(buffer_ + buffer_size_); |
- memmove(desc.buffer, buffer_, desc.instr_size); |
- memmove(rc_delta + reloc_info_writer.pos(), |
- reloc_info_writer.pos(), desc.reloc_size); |
+ OS::MemMove(desc.buffer, buffer_, desc.instr_size); |
+ OS::MemMove(rc_delta + reloc_info_writer.pos(), |
+ reloc_info_writer.pos(), desc.reloc_size); |
// Switch buffers. |
if (isolate() != NULL && |