Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index b95944bf0f036e8c2168d5d3a788057c4f6edade..43f9d827ac6e93c69b1aa868396b08db12158ffd 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -84,7 +84,7 @@ TEST(ScanKeywords) { |
// Adding characters will make keyword matching fail. |
static const char chars_to_append[] = { 'z', '0', '_' }; |
for (int j = 0; j < static_cast<int>(ARRAY_SIZE(chars_to_append)); ++j) { |
- i::OS::MemMove(buffer, keyword, length); |
+ i::MemMove(buffer, keyword, length); |
buffer[length] = chars_to_append[j]; |
i::Utf8ToUtf16CharacterStream stream(buffer, length + 1); |
i::Scanner scanner(&unicode_cache); |
@@ -94,7 +94,7 @@ TEST(ScanKeywords) { |
} |
// Replacing characters will make keyword matching fail. |
{ |
- i::OS::MemMove(buffer, keyword, length); |
+ i::MemMove(buffer, keyword, length); |
buffer[length - 1] = '_'; |
i::Utf8ToUtf16CharacterStream stream(buffer, length); |
i::Scanner scanner(&unicode_cache); |