Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: src/heap-inl.h

Issue 7189066: Simple non-incremental compaction by evacuation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698