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

Unified Diff: src/heap/mark-compact.h

Issue 1127333004: Remove release-mode assert that has out-stayed its welcome (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 03fd45a332d53698f5e26d007007dcc47e6eae23..1cfc787082fd9437114e068f671f4ec2657fa110 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -210,8 +210,7 @@ class MarkingDeque {
// heap.
INLINE(void PushBlack(HeapObject* object)) {
DCHECK(object->IsHeapObject());
- // TODO(jochen): Remove again before we branch for 4.2.
- CHECK(object->IsHeapObject() && object->map()->IsMap());
+ DCHECK(object->map()->IsMap());
if (IsFull()) {
Marking::BlackToGrey(object);
MemoryChunk::IncrementLiveBytesFromGC(object->address(), -object->Size());
@@ -224,8 +223,7 @@ class MarkingDeque {
INLINE(void PushGrey(HeapObject* object)) {
DCHECK(object->IsHeapObject());
- // TODO(jochen): Remove again before we branch for 4.2.
- CHECK(object->IsHeapObject() && object->map()->IsMap());
+ DCHECK(object->map()->IsMap());
if (IsFull()) {
SetOverflowed();
} else {
« 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