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); |
} |