Index: src/ia32/deoptimizer-ia32.cc |
diff --git a/src/ia32/deoptimizer-ia32.cc b/src/ia32/deoptimizer-ia32.cc |
index 05b2ce8a74224275f904787080831d4520674b2a..87c04836f24597b86aa9df63418e5dcacf9dbb92 100644 |
--- a/src/ia32/deoptimizer-ia32.cc |
+++ b/src/ia32/deoptimizer-ia32.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); |