Revision: 15880
Author:   [email protected]
Date:     Thu Jul 25 05:10:45 2013
Log: Ignore external strings in old pointer space migration invariant check.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/20142008
http://code.google.com/p/v8/source/detail?r=15880

Modified:
 /branches/bleeding_edge/src/mark-compact.cc

=======================================
--- /branches/bleeding_edge/src/mark-compact.cc Thu Jul 25 01:44:40 2013
+++ /branches/bleeding_edge/src/mark-compact.cc Thu Jul 25 05:10:45 2013
@@ -2742,8 +2742,9 @@
   CHECK(dest != LO_SPACE && size <= Page::kMaxNonCodeHeapObjectSize);
   if (dest == OLD_POINTER_SPACE) {
     // TODO(hpayer): Replace this check with an assert.
-    CHECK(heap_->TargetSpace(HeapObject::FromAddress(src)) ==
-          heap_->old_pointer_space());
+    HeapObject* heap_object = HeapObject::FromAddress(src);
+    CHECK(heap_object->IsExternalString() ||
+          heap_->TargetSpace(heap_object) == heap_->old_pointer_space());
     Address src_slot = src;
     Address dst_slot = dst;
     ASSERT(IsAligned(size, kPointerSize));

--
--
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