Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index dc091f3a9cd888da651d4d9e100745cc7e3ae538..775e2529d8e0f0e3c87aa1853d2df09002ef29c0 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -14912,7 +14912,7 @@ TEST(PreCompileSerialization) { |
// Serialize. |
const v8::ScriptCompiler::CachedData* cd = source.GetCachedData(); |
char* serialized_data = i::NewArray<char>(cd->length); |
- i::OS::MemCopy(serialized_data, cd->data, cd->length); |
+ i::MemCopy(serialized_data, cd->data, cd->length); |
// Deserialize. |
i::ScriptData* deserialized = i::ScriptData::New(serialized_data, cd->length); |
@@ -18092,14 +18092,14 @@ TEST(ExternalInternalizedStringCollectedAtGC) { |
static double DoubleFromBits(uint64_t value) { |
double target; |
- i::OS::MemCopy(&target, &value, sizeof(target)); |
+ i::MemCopy(&target, &value, sizeof(target)); |
return target; |
} |
static uint64_t DoubleToBits(double value) { |
uint64_t target; |
- i::OS::MemCopy(&target, &value, sizeof(target)); |
+ i::MemCopy(&target, &value, sizeof(target)); |
return target; |
} |