Index: src/heap-inl.h |
diff --git a/src/heap-inl.h b/src/heap-inl.h |
index 22b29d1853ab2ccdd8c3fd3d158ca6d4a6496ce2..22d7b6e022c56a89595219ce44e9e7a82612ec5a 100644 |
--- a/src/heap-inl.h |
+++ b/src/heap-inl.h |
@@ -366,26 +366,6 @@ void Heap::CopyBlock(Address dst, Address src, int byte_size) { |
} |
-void Heap::CopyBlockToOldSpaceAndUpdateWriteBarrier(Address dst, |
- Address src, |
- int byte_size) { |
- ASSERT(IsAligned(byte_size, kPointerSize)); |
- |
- for (int remaining = byte_size / kPointerSize; |
- remaining > 0; |
- remaining--) { |
- Memory::Object_at(dst) = Memory::Object_at(src); |
- |
- if (InNewSpace(Memory::Object_at(dst))) { |
- store_buffer_.Mark(dst); |
- } |
- |
- dst += kPointerSize; |
- src += kPointerSize; |
- } |
-} |
- |
- |
void Heap::MoveBlock(Address dst, Address src, int byte_size) { |
ASSERT(IsAligned(byte_size, kPointerSize)); |