Lines Matching refs:StaticVisitorBase
24 class StaticVisitorBase : public AllStatic {
138 for (int i = 0; i < StaticVisitorBase::kVisitorIdCount; i++) {
143 inline Callback GetVisitorById(StaticVisitorBase::VisitorId id) {
151 void Register(StaticVisitorBase::VisitorId id, Callback callback) {
152 DCHECK(id < StaticVisitorBase::kVisitorIdCount); // id is unsigned.
156 template <typename Visitor, StaticVisitorBase::VisitorId base,
157 StaticVisitorBase::VisitorId generic, int object_size_in_words>
160 Register(StaticVisitorBase::GetVisitorIdForSize(base, generic, size),
165 template <typename Visitor, StaticVisitorBase::VisitorId base,
166 StaticVisitorBase::VisitorId generic>
168 STATIC_ASSERT((generic - base + StaticVisitorBase::kMinObjectSizeInWords) ==
182 base::AtomicWord callbacks_[StaticVisitorBase::kVisitorIdCount];
249 class StaticNewSpaceVisitor : public StaticVisitorBase {
356 class StaticMarkingVisitor : public StaticVisitorBase {