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

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: rebase + addressed comments 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
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/incremental-marking-inl.h » ('j') | 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 268e2ecb2f45f1b5ec093d47dbfad12bb25ad144..2b6765c72ca09f09ad0ed59f4e4b5cdc47c72b2d 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);
}
« no previous file with comments | « src/heap-snapshot-generator.cc ('k') | src/incremental-marking-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698