Home
last modified time | relevance | path

Searched refs:code_object_id (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/snapshot/
Dbuiltin-deserializer-allocator.cc27 int HandlerAllocationIndex(int code_object_id) { in HandlerAllocationIndex() argument
28 return code_object_id - BuiltinSnapshotUtils::kFirstHandlerIndex; in HandlerAllocationIndex()
34 const int code_object_id = deserializer()->CurrentCodeObjectId(); in Allocate() local
35 DCHECK_NE(BuiltinDeserializer::kNoCodeObjectId, code_object_id); in Allocate()
37 DCHECK_EQ(deserializer()->ExtractCodeObjectSize(code_object_id), size); in Allocate()
39 RegisterCodeObjectAllocation(code_object_id); in Allocate()
42 if (BSU::IsBuiltinIndex(code_object_id)) { in Allocate()
43 Object* obj = isolate()->builtins()->builtin(code_object_id); in Allocate()
46 } else if (BSU::IsHandlerIndex(code_object_id)) { in Allocate()
55 int index = HandlerAllocationIndex(code_object_id); in Allocate()
[all …]
Dbuiltin-deserializer.cc23 int code_object_id) in DeserializingCodeObjectScope() argument
27 builtin_deserializer->current_code_object_id_ = code_object_id; in DeserializingCodeObjectScope()
180 const int code_object_id = BSU::BytecodeToIndex(bytecode, operand_scale); in DeserializeHandlerRaw() local
181 DeserializingCodeObjectScope scope(this, code_object_id); in DeserializeHandlerRaw()
184 source()->set_position(code_offsets_[code_object_id]); in DeserializeHandlerRaw()
209 uint32_t BuiltinDeserializer::ExtractCodeObjectSize(int code_object_id) { in ExtractCodeObjectSize() argument
210 DCHECK_LT(code_object_id, BSU::kNumberOfCodeObjects); in ExtractCodeObjectSize()
215 source()->set_position(code_offsets_[code_object_id]); in ExtractCodeObjectSize()
Dbuiltin-deserializer-allocator.h122 void RegisterCodeObjectReservation(int code_object_id);
123 void RegisterCodeObjectAllocation(int code_object_id);