// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/objects/managed.h" #include "src/handles/global-handles-inl.h" #include "src/sandbox/external-pointer-table-inl.h" namespace v8 { namespace internal { namespace { // Called by the GC in its second pass when a Managed<CppType> is // garbage collected. void ManagedObjectFinalizerSecondPass(const v8::WeakCallbackInfo<void>& data) { … } } // namespace // Called by the GC in its first pass when a Managed<CppType> is // garbage collected. void ManagedObjectFinalizer(const v8::WeakCallbackInfo<void>& data) { … } } // namespace internal } // namespace v8