Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 32344420f4ae918af4ab66bb13b5ce338d691394..59e7b8f25498896a962ae736a1af8a335cdc21ba 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -571,7 +571,7 @@ class TestJSONStream : public v8::OutputStream { |
if (abort_countdown_ == 0) return kAbort; |
CHECK_GT(chars_written, 0); |
i::Vector<char> chunk = buffer_.AddBlock(chars_written, '\0'); |
- memcpy(chunk.start(), buffer, chars_written); |
+ i::OS::MemCopy(chunk.start(), buffer, chars_written); |
return kContinue; |
} |
virtual WriteResult WriteUint32Chunk(uint32_t* buffer, int chars_written) { |