Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index fb827f2f727d97e6a50217b9a5a1cc60ed7b4b0a..61838e3fd6116df46c212b004d837d09385344a8 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -1302,7 +1302,7 @@ ScriptData* ScriptData::New(const char* data, int length) { |
} |
// Copy the data to align it. |
unsigned* deserialized_data = i::NewArray<unsigned>(deserialized_data_length); |
- i::MemCopy(deserialized_data, data, length); |
+ i::OS::MemCopy(deserialized_data, data, length); |
return new i::ScriptDataImpl( |
i::Vector<unsigned>(deserialized_data, deserialized_data_length)); |