Reviewers: mvstanton, Michael Starzinger,

Description:
Check that AllocationMementos never get scavengend.

BUG=

Please review this at https://codereview.chromium.org/24052003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+2, -0 lines):
  M src/heap-inl.h


Index: src/heap-inl.h
diff --git a/src/heap-inl.h b/src/heap-inl.h
index 880885593abe2916cdcad30bc46a369454fd663f..510a9224ddf6bd3a018e02c92b9fa6759bb7af4c 100644
--- a/src/heap-inl.h
+++ b/src/heap-inl.h
@@ -525,6 +525,8 @@ void Heap::ScavengeObject(HeapObject** p, HeapObject* object) {
     return;
   }

+  // TODO(hpayer): temporary debugging code, should be removed.
+  CHECK(object->map() != object->GetHeap()->allocation_memento_map());
   // Call the slow part of scavenge object.
   return ScavengeObjectSlow(p, object);
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to