Index: src/x64/assembler-x64.cc |
diff --git a/src/x64/assembler-x64.cc b/src/x64/assembler-x64.cc |
index 64a5cc3ae631e7a018d03001d0e3aac3e8d0c3f5..71df6a9bfc8d685ae586ab18051d59d286057388 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 && |