Index: src/deoptimizer.cc |
diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc |
index 49c8641dbd4e2d720d8e6fc18454a6a191472e31..1af736575b059ecf5c4e7599ce3578cc21412366 100644 |
--- a/src/deoptimizer.cc |
+++ b/src/deoptimizer.cc |
@@ -2372,7 +2372,8 @@ int32_t TranslationIterator::Next() { |
Handle<ByteArray> TranslationBuffer::CreateByteArray(Factory* factory) { |
int length = contents_.length(); |
Handle<ByteArray> result = factory->NewByteArray(length, TENURED); |
- memcpy(result->GetDataStartAddress(), contents_.ToVector().start(), length); |
+ OS::MemCopy( |
+ result->GetDataStartAddress(), contents_.ToVector().start(), length); |
return result; |
} |