1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "traceimpl_overloaded.h"
9 void ExternBase::trace(Visitor
* visitor
) {
13 void ExternBase::trace(InlinedGlobalMarkingVisitor visitor
) {
17 template <typename VisitorDispatcher
>
18 inline void ExternBase::traceImpl(VisitorDispatcher visitor
) {
19 visitor
->trace(x_base_
);
22 void ExternDerived::trace(Visitor
* visitor
) {
26 void ExternDerived::trace(InlinedGlobalMarkingVisitor visitor
) {
30 template <typename VisitorDispatcher
>
31 inline void ExternDerived::traceImpl(VisitorDispatcher visitor
) {
32 visitor
->trace(x_derived_
);
33 ExternBase::trace(visitor
);