#ifndef V8_HEAP_MARKING_WORKLIST_INL_H_
#define V8_HEAP_MARKING_WORKLIST_INL_H_
#include <unordered_map>
#include "src/heap/cppgc-js/cpp-marking-state-inl.h"
#include "src/heap/marking-worklist.h"
#include "src/objects/embedder-data-slot.h"
#include "src/objects/js-objects-inl.h"
namespace v8 {
namespace internal {
template <typename Callback>
void MarkingWorklists::Update(Callback callback) { … }
void MarkingWorklists::Local::Push(Tagged<HeapObject> object) { … }
bool MarkingWorklists::Local::Pop(Tagged<HeapObject>* object) { … }
void MarkingWorklists::Local::PushOnHold(Tagged<HeapObject> object) { … }
bool MarkingWorklists::Local::PopOnHold(Tagged<HeapObject>* object) { … }
Address MarkingWorklists::Local::SwitchToContext(Address context) { … }
void MarkingWorklists::Local::SwitchToContextImpl(
Address context, MarkingWorklist::Local* worklist) { … }
void MarkingWorklists::Local::PublishCppHeapObjects() { … }
}
}
#endif