#include "src/objects/dependent-code.h"
#include "src/base/bits.h"
#include "src/deoptimizer/deoptimizer.h"
#include "src/objects/allocation-site-inl.h"
#include "src/objects/dependent-code-inl.h"
#include "src/objects/map.h"
namespace v8 {
namespace internal {
Tagged<DependentCode> DependentCode::GetDependentCode(
Tagged<HeapObject> object) { … }
void DependentCode::SetDependentCode(Handle<HeapObject> object,
DirectHandle<DependentCode> dep) { … }
namespace {
void PrintDependencyGroups(DependentCode::DependencyGroups groups) { … }
}
void DependentCode::InstallDependency(Isolate* isolate, Handle<Code> code,
Handle<HeapObject> object,
DependencyGroups groups) { … }
Handle<DependentCode> DependentCode::InsertWeakCode(
Isolate* isolate, Handle<DependentCode> entries, DependencyGroups groups,
DirectHandle<Code> code) { … }
template <typename Function>
void DependentCode::IterateAndCompact(IsolateForSandbox isolate,
const Function& fn) { … }
bool DependentCode::MarkCodeForDeoptimization(
Isolate* isolate, DependentCode::DependencyGroups deopt_groups) { … }
int DependentCode::FillEntryFromBack(int index, int length) { … }
void DependentCode::DeoptimizeDependencyGroups(
Isolate* isolate, DependentCode::DependencyGroups groups) { … }
Tagged<DependentCode> DependentCode::empty_dependent_code(
const ReadOnlyRoots& roots) { … }
const char* DependentCode::DependencyGroupName(DependencyGroup group) { … }
}
}