#include "src/builtins/constants-table-builder.h"
#include "src/execution/isolate.h"
#include "src/heap/heap-inl.h"
#include "src/objects/oddball-inl.h"
#include "src/roots/roots-inl.h"
namespace v8 {
namespace internal {
BuiltinsConstantsTableBuilder::BuiltinsConstantsTableBuilder(Isolate* isolate)
: … { … }
uint32_t BuiltinsConstantsTableBuilder::AddObject(Handle<Object> object) { … }
namespace {
void CheckPreconditionsForPatching(Isolate* isolate,
Handle<Object> replacement_object) { … }
}
void BuiltinsConstantsTableBuilder::PatchSelfReference(
DirectHandle<Object> self_reference,
Handle<InstructionStream> code_object) { … }
void BuiltinsConstantsTableBuilder::PatchBasicBlockCountersReference(
Handle<ByteArray> counters) { … }
void BuiltinsConstantsTableBuilder::Finalize() { … }
}
}