Index: src/incremental-marking-inl.h |
diff --git a/src/incremental-marking-inl.h b/src/incremental-marking-inl.h |
index 1762f2be139746fe6b2651698f4c994f22253677..19d471c36754f4e51f5849a0a4e702f8efabe4c0 100644 |
--- a/src/incremental-marking-inl.h |
+++ b/src/incremental-marking-inl.h |
@@ -45,7 +45,7 @@ bool IncrementalMarking::BaseRecordWrite(HeapObject* obj, |
void IncrementalMarking::RecordWrite(HeapObject* obj, |
Object** slot, |
Object* value) { |
- if (IsMarking() && value->NonFailureIsHeapObject()) { |
+ if (IsMarking() && value->IsHeapObject()) { |
RecordWriteSlow(obj, slot, value); |
} |
} |
@@ -61,7 +61,7 @@ void IncrementalMarking::RecordWriteOfCodeEntry(JSFunction* host, |
void IncrementalMarking::RecordWriteIntoCode(HeapObject* obj, |
RelocInfo* rinfo, |
Object* value) { |
- if (IsMarking() && value->NonFailureIsHeapObject()) { |
+ if (IsMarking() && value->IsHeapObject()) { |
RecordWriteIntoCodeSlow(obj, rinfo, value); |
} |
} |