Index: src/x87/deoptimizer-x87.cc |
diff --git a/src/x87/deoptimizer-x87.cc b/src/x87/deoptimizer-x87.cc |
index 0d717264fcd4435a8f454c182e1e7dffc0c904cf..fb0e8f268658f9ded13d52639da0448b35db9a1d 100644 |
--- a/src/x87/deoptimizer-x87.cc |
+++ b/src/x87/deoptimizer-x87.cc |
@@ -67,8 +67,9 @@ void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) { |
Factory* factory = isolate->factory(); |
Handle<ByteArray> new_reloc = |
factory->NewByteArray(reloc_length + padding, TENURED); |
- MemCopy(new_reloc->GetDataStartAddress() + padding, |
- code->relocation_info()->GetDataStartAddress(), reloc_length); |
+ OS::MemCopy(new_reloc->GetDataStartAddress() + padding, |
+ code->relocation_info()->GetDataStartAddress(), |
+ reloc_length); |
// Create a relocation writer to write the comments in the padding |
// space. Use position 0 for everything to ensure short encoding. |
RelocInfoWriter reloc_info_writer( |
@@ -161,7 +162,8 @@ void Deoptimizer::PatchCodeForDeoptimization(Isolate* isolate, Code* code) { |
// Move the relocation info to the beginning of the byte array. |
int new_reloc_size = reloc_end_address - reloc_info_writer.pos(); |
- MemMove(code->relocation_start(), reloc_info_writer.pos(), new_reloc_size); |
+ OS::MemMove( |
+ code->relocation_start(), reloc_info_writer.pos(), new_reloc_size); |
// The relocation info is in place, update the size. |
reloc_info->set_length(new_reloc_size); |