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

Unified Diff: src/incremental-marking.cc

Issue 259173003: Kiss goodbye to MaybeObject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/incremental-marking.cc
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc
index c32155e1430450875e653de2a68bf3411da21364..626aaa6b251f396e52fdb8ef46428269617e4ee3 100644
--- a/src/incremental-marking.cc
+++ b/src/incremental-marking.cc
@@ -240,7 +240,7 @@ class IncrementalMarkingMarkingVisitor
INLINE(static void VisitPointer(Heap* heap, Object** p)) {
Object* obj = *p;
- if (obj->NonFailureIsHeapObject()) {
+ if (obj->IsHeapObject()) {
heap->mark_compact_collector()->RecordSlot(p, p, obj);
MarkObject(heap, obj);
}
@@ -249,7 +249,7 @@ class IncrementalMarkingMarkingVisitor
INLINE(static void VisitPointers(Heap* heap, Object** start, Object** end)) {
for (Object** p = start; p < end; p++) {
Object* obj = *p;
- if (obj->NonFailureIsHeapObject()) {
+ if (obj->IsHeapObject()) {
heap->mark_compact_collector()->RecordSlot(start, p, obj);
MarkObject(heap, obj);
}
@@ -262,7 +262,7 @@ class IncrementalMarkingMarkingVisitor
Object** end)) {
for (Object** p = start; p < end; p++) {
Object* obj = *p;
- if (obj->NonFailureIsHeapObject()) {
+ if (obj->IsHeapObject()) {
heap->mark_compact_collector()->RecordSlot(anchor, p, obj);
MarkObject(heap, obj);
}

Powered by Google App Engine
This is Rietveld 408576698