Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index ab0f3ca4c5a4e53a94db08341b3af47bc8fbbc4d..d130d4ee358231ca182749d7aab379f86f0fbe51 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -1712,7 +1712,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)); |
} |