Index: src/gdb-jit.cc |
diff --git a/src/gdb-jit.cc b/src/gdb-jit.cc |
index 83bd1a1d6a11c02e808dc48b199e831f08ded198..d08f2fe41862dda46f6107e9e2eecd576a3a7cc4 100644 |
--- a/src/gdb-jit.cc |
+++ b/src/gdb-jit.cc |
@@ -681,7 +681,7 @@ class ELF BASE_EMBEDDED { |
#else |
#error Unsupported target architecture. |
#endif |
- memcpy(header->ident, ident, 16); |
+ OS::MemCopy(header->ident, ident, 16); |
header->type = 1; |
#if defined(V8_TARGET_ARCH_IA32) |
header->machine = 3; |
@@ -1855,7 +1855,7 @@ static JITCodeEntry* CreateCodeEntry(Address symfile_addr, |
entry->symfile_addr_ = reinterpret_cast<Address>(entry + 1); |
entry->symfile_size_ = symfile_size; |
- memcpy(entry->symfile_addr_, symfile_addr, symfile_size); |
+ OS::MemCopy(entry->symfile_addr_, symfile_addr, symfile_size); |
entry->prev_ = entry->next_ = NULL; |