Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 3cddcb91dc6846f9f7015db4b8a8f56a9d78e440..6c59790ec1eaa72f7bc4ab9fe23f5a69d1e44000 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -122,8 +122,8 @@ AllocationResult Heap::AllocateOneByteInternalizedString( |
ASSERT_EQ(size, answer->Size()); |
// Fill in the characters. |
- OS::MemCopy(answer->address() + SeqOneByteString::kHeaderSize, |
- str.start(), str.length()); |
+ MemCopy(answer->address() + SeqOneByteString::kHeaderSize, str.start(), |
+ str.length()); |
return answer; |
} |
@@ -154,8 +154,8 @@ AllocationResult Heap::AllocateTwoByteInternalizedString(Vector<const uc16> str, |
ASSERT_EQ(size, answer->Size()); |
// Fill in the characters. |
- OS::MemCopy(answer->address() + SeqTwoByteString::kHeaderSize, |
- str.start(), str.length() * kUC16Size); |
+ MemCopy(answer->address() + SeqTwoByteString::kHeaderSize, str.start(), |
+ str.length() * kUC16Size); |
return answer; |
} |
@@ -429,7 +429,7 @@ void Heap::MoveBlock(Address dst, Address src, int byte_size) { |
*dst_slot++ = *src_slot++; |
} |
} else { |
- OS::MemMove(dst, src, static_cast<size_t>(byte_size)); |
+ MemMove(dst, src, static_cast<size_t>(byte_size)); |
} |
} |