Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 610b8ceb60406d733ff170c99cbb041f09c4ab13..c7331bdb91b33bb5af60316343331b629d7547f5 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -83,7 +83,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) { |
- memmove(buffer, keyword, length); |
+ i::OS::MemMove(buffer, keyword, length); |
buffer[length] = chars_to_append[j]; |
i::Utf8ToUtf16CharacterStream stream(buffer, length + 1); |
i::Scanner scanner(&unicode_cache); |
@@ -93,7 +93,7 @@ TEST(ScanKeywords) { |
} |
// Replacing characters will make keyword matching fail. |
{ |
- memmove(buffer, keyword, length); |
+ i::OS::MemMove(buffer, keyword, length); |
buffer[length - 1] = '_'; |
i::Utf8ToUtf16CharacterStream stream(buffer, length); |
i::Scanner scanner(&unicode_cache); |