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