// Copyright 2022 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. #ifndef V8_HEAP_CPPGC_JS_CROSS_HEAP_REMEMBERED_SET_H_ #define V8_HEAP_CPPGC_JS_CROSS_HEAP_REMEMBERED_SET_H_ #include <vector> #include "src/base/macros.h" #include "src/handles/handles.h" #include "src/objects/tagged.h" namespace cppgc::internal { class HeapBase; } namespace v8::internal { class JSObject; // The class is used to remember V8 to Oilpan references. class V8_EXPORT_PRIVATE CrossHeapRememberedSet final { … }; template <typename F> void CrossHeapRememberedSet::Visit(Isolate& isolate, F f) { … } } // namespace v8::internal #endif // V8_HEAP_CPPGC_JS_CROSS_HEAP_REMEMBERED_SET_H_