Index: src/ia32/assembler-ia32.cc |
diff --git a/src/ia32/assembler-ia32.cc b/src/ia32/assembler-ia32.cc |
index b48906e70614ac930327856b8eec9afb3822a3f3..32fe6a9c1052e94522b24129808531c277928cea 100644 |
--- a/src/ia32/assembler-ia32.cc |
+++ b/src/ia32/assembler-ia32.cc |
@@ -2556,9 +2556,9 @@ void Assembler::GrowBuffer() { |
// Copy the data. |
int pc_delta = desc.buffer - buffer_; |
int 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()->assembler_spare_buffer() == NULL && |