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

Unified Diff: Source/platform/heap/MarkingVisitorImpl.h

Issue 1166623002: Oilpan: Remove a visitor parameter from isHeapObjectAlive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 | « Source/platform/heap/MarkingVisitor.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/MarkingVisitorImpl.h
diff --git a/Source/platform/heap/MarkingVisitorImpl.h b/Source/platform/heap/MarkingVisitorImpl.h
index 548f50fd068577ccc636b7816de2a85ca3ab8885..dd869fed5ffac1399cac675e10ead12144aa6f41 100644
--- a/Source/platform/heap/MarkingVisitorImpl.h
+++ b/Source/platform/heap/MarkingVisitorImpl.h
@@ -82,11 +82,6 @@ protected:
}
#endif
- inline bool isMarked(const void* objectPointer)
- {
- return HeapObjectHeader::fromPayload(objectPointer)->isMarked();
- }
-
inline bool ensureMarked(const void* objectPointer)
{
if (!objectPointer)
@@ -94,7 +89,7 @@ protected:
if (!toDerived()->shouldMarkObject(objectPointer))
return false;
#if ENABLE(ASSERT)
- if (isMarked(objectPointer))
+ if (HeapObjectHeader::fromPayload(objectPointer)->isMarked())
return false;
toDerived()->markNoTracing(objectPointer);
« no previous file with comments | « Source/platform/heap/MarkingVisitor.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698