Index: src/x87/deoptimizer-x87.cc |
diff --git a/src/x87/deoptimizer-x87.cc b/src/x87/deoptimizer-x87.cc |
index fb0e8f268658f9ded13d52639da0448b35db9a1d..0d717264fcd4435a8f454c182e1e7dffc0c904cf 100644 |
--- a/src/x87/deoptimizer-x87.cc |
+++ b/src/x87/deoptimizer-x87.cc |
@@ -67,9 +67,8 @@ void Deoptimizer::EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code) { |
Factory* factory = isolate->factory(); |
Handle<ByteArray> new_reloc = |
factory->NewByteArray(reloc_length + padding, TENURED); |
- OS::MemCopy(new_reloc->GetDataStartAddress() + padding, |
- code->relocation_info()->GetDataStartAddress(), |
- reloc_length); |
+ 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( |
@@ -162,8 +161,7 @@ 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(); |
- OS::MemMove( |
- code->relocation_start(), reloc_info_writer.pos(), new_reloc_size); |
+ 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); |