/arkcompiler/ets_runtime/ecmascript/ |
D | vtable.cpp | 21 VTable::Tuple VTable::CreateTuple(const JSThread *thread, JSTaggedValue phc, in CreateTuple() 33 typeVal = JSTaggedValue(VTable::TypeKind::ACCESSOR); in CreateTuple() 35 typeVal = JSTaggedValue(VTable::TypeKind::FUNCTION); in CreateTuple() 47 return VTable::Tuple(vec); in CreateTuple() 50 VTable::Tuple VTable::GetTuple(const JSThread *thread, uint32_t tupleIdx) const in GetTuple() 60 void VTable::SetByIndex(const JSThread *thread, uint32_t idx, const VTable::Tuple &tuple) in SetByIndex() 70 void VTable::Trim(const JSThread *thread, uint32_t newLength) in Trim() 72 TaggedArray::Trim(thread, newLength * VTable::TUPLE_SIZE); in Trim() 75 int VTable::GetTupleIndexByName(JSTaggedValue name) const in GetTupleIndexByName() 87 JSTaggedValue nameVal = GetTupleItem(index, VTable::TupleItem::NAME); in GetTupleIndexByName() [all …]
|
D | vtable.h | 22 class VTable : public TaggedArray { 46 friend class VTable; variable 57 CAST_CHECK(VTable, IsTaggedArray); 62 static JSHandle<VTable> Copy(const JSThread *thread, const JSHandle<VTable> &vtable); 82 void SetByIndex(const JSThread *thread, uint32_t idx, const VTable::Tuple &tuple);
|
D | subtyping_operator.cpp | 66 VTable *eVtable = VTable::Cast(eIhc->GetVTable().GetTaggedObject()); in CheckSubtyping() 153 JSMutableHandle<VTable> eVTable(thread, JSTaggedValue::Undefined()); in GenVTable() 162 JSHandle<VTable> vtable = factory->NewVTable(finalLength); in GenVTable() 165 VTable::Tuple tuple = eVTable->GetTuple(thread, index); in GenVTable() 170 VTable::Tuple tuple = VTable::CreateTuple(thread, phcHandle.GetTaggedValue(), owner, index); in GenVTable() 171 JSTaggedValue nameVal = tuple.GetItem(VTable::TupleItem::NAME).GetTaggedValue(); in GenVTable() 214 JSHandle<VTable> vtable(thread, oldHClass->GetVTable()); in TryMaintainTSSubtyping() 248 JSHandle<VTable> vtable(thread, hclass->GetVTable()); in TryMaintainTSSubtypingOnPrototype()
|
D | subtyping_operator-inl.h | 27 } else if constexpr(std::is_same_v<T, VTable>) { in GetElementByKey() 46 } else if constexpr(std::is_same_v<T, VTable>) { in IsLegalElement()
|
D | js_hclass.cpp | 943 JSHandle<VTable> vtable(thread, hclass->GetVTable()); in LookupPropertyInAotHClass() 947 uint32_t offset = static_cast<uint32_t>(entry * VTable::TUPLE_SIZE); in LookupPropertyInAotHClass() 1051 JSHandle<VTable> vtable(thread, oldHClass->GetVTable()); in CopyTSInheritInfo() 1052 JSHandle<VTable> copyVtable = VTable::Copy(thread, vtable); in CopyTSInheritInfo()
|
D | object_factory.h | 178 class VTable; variable 676 JSHandle<VTable> NewVTable(uint32_t length, JSTaggedValue initVal = JSTaggedValue::Hole());
|
D | dump.cpp | 678 VTable::Cast(vtable.GetTaggedObject())->Dump(os); in DumpHClass() 732 VTable::Cast(obj)->Dump(os); in DumpObject() 1632 void VTable::Dump(std::ostream &os) const in Dump() 1640 JSTaggedValue name = GetTupleItem(i, VTable::TupleItem::NAME); in Dump() 1643 JSTaggedValue owner = GetTupleItem(i, VTable::TupleItem::OWNER); in Dump() 1646 JSTaggedValue offset = GetTupleItem(i, VTable::TupleItem::OFFSET); in Dump() 3952 VTable::Cast(obj)->DumpForSnapshot(vec); in DumpObject() 4778 void VTable::DumpForSnapshot(std::vector<Reference> &vec) const in DumpForSnapshot()
|
D | js_hclass.h | 1807 ACCESSORS(VTable, VTABLE_OFFSET, BIT_FIELD_OFFSET);
|
D | object_factory.cpp | 4600 JSHandle<VTable> ObjectFactory::NewVTable(uint32_t length, JSTaggedValue initVal) in NewVTable() 4603 …size_t size = TaggedArray::ComputeSize(JSTaggedValue::TaggedTypeSize(), length * VTable::TUPLE_SIZ… in NewVTable() 4607 JSHandle<VTable> vtable(thread_, header); in NewVTable() 4608 vtable->InitializeWithSpecialValue(initVal, length * VTable::TUPLE_SIZE); in NewVTable()
|
/arkcompiler/runtime_core/static_core/runtime/include/ |
D | vtable_builder.h | 185 class VTable { 337 VTable<SearchBySignature, OverridePred> vtable_;
|
/arkcompiler/runtime_core/compiler/docs/ |
D | plt.md | 68 `SecondSlot` is filled with zero and after resolving it stores `VTable index` incremented by 1. 93 XX+32: ldr w16, [x16, #160] ; Load Method from VTable (compensating index+1, as VTable start o… 110 Having `Method pointer` it is easy to load `VTable index` value.
|
/arkcompiler/runtime_core/static_core/compiler/docs/ |
D | plt.md | 68 `SecondSlot` is filled with zero and after resolving it stores `VTable index` incremented by 1. 93 XX+32: ldr w16, [x16, #160] ; Load Method from VTable (compensating index+1, as VTable start o… 110 Having `Method pointer` it is easy to load `VTable index` value.
|
/arkcompiler/runtime_core/static_core/runtime/tests/ |
D | class_linker_test.cpp | 628 TEST_F(ClassLinkerTest, VTable) in TEST_F() argument
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | typed_hcr_lowering.cpp | 1596 GateRef itemOwner = builder_.LoadFromTaggedArray(vtable, VTable::TupleItem::OWNER + index); in LoadFromVTable() 1597 GateRef itemOffset = builder_.LoadFromTaggedArray(vtable, VTable::TupleItem::OFFSET + index); in LoadFromVTable()
|