Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index e179880d0997c2621a6d963b83278e7295e892fb..c2706f62ffc1ba8d4f20b0b9ba7dec84ca1ff0db 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -1707,7 +1707,7 @@ void Serializer::ObjectSerializer::VisitExternalAsciiString( |
static Code* CloneCodeObject(HeapObject* code) { |
Address copy = new byte[code->Size()]; |
- OS::MemCopy(copy, code->address(), code->Size()); |
+ MemCopy(copy, code->address(), code->Size()); |
return Code::cast(HeapObject::FromAddress(copy)); |
} |