#ifndef V8_HEAP_MARK_COMPACT_INL_H_
#define V8_HEAP_MARK_COMPACT_INL_H_
#include "src/common/globals.h"
#include "src/heap/mark-compact.h"
#include "src/heap/marking-state-inl.h"
#include "src/heap/marking-visitor-inl.h"
#include "src/heap/marking-worklist-inl.h"
#include "src/heap/marking-worklist.h"
#include "src/heap/marking.h"
#include "src/heap/objects-visiting-inl.h"
#include "src/heap/remembered-set-inl.h"
#include "src/objects/js-collection-inl.h"
#include "src/objects/transitions.h"
#include "src/roots/roots.h"
namespace v8 {
namespace internal {
void MarkCompactCollector::MarkObject(
Tagged<HeapObject> host, Tagged<HeapObject> obj,
MarkingHelper::WorklistTarget target_worklist) { … }
void MarkCompactCollector::MarkRootObject(
Root root, Tagged<HeapObject> obj,
MarkingHelper::WorklistTarget target_worklist) { … }
template <typename THeapObjectSlot>
void MarkCompactCollector::RecordSlot(Tagged<HeapObject> object,
THeapObjectSlot slot,
Tagged<HeapObject> target) { … }
template <typename THeapObjectSlot>
void MarkCompactCollector::RecordSlot(MemoryChunk* source_chunk,
THeapObjectSlot slot,
Tagged<HeapObject> target) { … }
void MarkCompactCollector::AddTransitionArray(Tagged<TransitionArray> array) { … }
void RootMarkingVisitor::VisitRootPointer(Root root, const char* description,
FullObjectSlot p) { … }
void RootMarkingVisitor::VisitRootPointers(Root root, const char* description,
FullObjectSlot start,
FullObjectSlot end) { … }
void RootMarkingVisitor::MarkObjectByPointer(Root root, FullObjectSlot p) { … }
}
}
#endif