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

Unified Diff: src/incremental-marking.cc

Issue 8222001: Fixing bogus assertion. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index 95642e90f19d11b3212bc37013ec46433da9701c..6cb7aa4858d80ca1e096a14b06d862a3a1b8e46a 100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -67,7 +67,9 @@ void IncrementalMarking::RecordWriteFromCode(HeapObject* obj,
// Fast cases should already be covered by RecordWriteStub.
ASSERT(value->IsHeapObject());
ASSERT(!value->IsHeapNumber());
- ASSERT(!value->IsString() || value->IsConsString());
+ ASSERT(!value->IsString() ||
+ value->IsConsString() ||
+ value->IsSlicedString());
ASSERT(Marking::IsWhite(Marking::MarkBitFrom(HeapObject::cast(value))));
IncrementalMarking* marking = isolate->heap()->incremental_marking();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698