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

Side by Side Diff: Source/platform/heap/InlinedGlobalMarkingVisitor.h

Issue 1166623002: Oilpan: Remove a visitor parameter from isHeapObjectAlive (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/heap/HeapTest.cpp ('k') | Source/platform/heap/MarkingVisitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InlinedGlobalMarkingVisitor_h 5 #ifndef InlinedGlobalMarkingVisitor_h
6 #define InlinedGlobalMarkingVisitor_h 6 #define InlinedGlobalMarkingVisitor_h
7 7
8 #include "platform/heap/MarkingVisitorImpl.h" 8 #include "platform/heap/MarkingVisitorImpl.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 11 matching lines...) Expand all
22 ASSERT(visitor->isGlobalMarkingVisitor()); 22 ASSERT(visitor->isGlobalMarkingVisitor());
23 } 23 }
24 24
25 // Hack to unify interface to visitor->trace(). 25 // Hack to unify interface to visitor->trace().
26 // Without this hack, we need to use visitor.trace() for 26 // Without this hack, we need to use visitor.trace() for
27 // trace(InlinedGlobalMarkingVisitor) and visitor->trace() for trace(Visitor *). 27 // trace(InlinedGlobalMarkingVisitor) and visitor->trace() for trace(Visitor *).
28 InlinedGlobalMarkingVisitor* operator->() { return this; } 28 InlinedGlobalMarkingVisitor* operator->() { return this; }
29 29
30 using Impl::mark; 30 using Impl::mark;
31 using Impl::ensureMarked; 31 using Impl::ensureMarked;
32 using Impl::isMarked;
33 using Impl::registerDelayedMarkNoTracing; 32 using Impl::registerDelayedMarkNoTracing;
34 using Impl::registerWeakTable; 33 using Impl::registerWeakTable;
35 using Impl::registerWeakMembers; 34 using Impl::registerWeakMembers;
36 #if ENABLE(ASSERT) 35 #if ENABLE(ASSERT)
37 using Impl::weakTableRegistered; 36 using Impl::weakTableRegistered;
38 #endif 37 #endif
39 38
40 template<typename T> 39 template<typename T>
41 void mark(T* t) 40 void mark(T* t)
42 { 41 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 Visitor* m_visitor; 78 Visitor* m_visitor;
80 }; 79 };
81 80
82 inline void GarbageCollectedMixin::trace(InlinedGlobalMarkingVisitor) 81 inline void GarbageCollectedMixin::trace(InlinedGlobalMarkingVisitor)
83 { 82 {
84 } 83 }
85 84
86 } // namespace blink 85 } // namespace blink
87 86
88 #endif 87 #endif
OLDNEW
« no previous file with comments | « Source/platform/heap/HeapTest.cpp ('k') | Source/platform/heap/MarkingVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698