Home
last modified time | relevance | path

Searched refs:GetObjectType (Results 1 – 25 of 67) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/
Djs_hclass.h477 inline JSType GetObjectType() const in GetObjectType() function
549 JSType jsType = GetObjectType(); in IsJSObject()
555 return GetObjectType() == JSType::JS_OBJECT; in IsOnlyJSObject()
560 JSType jsType = GetObjectType(); in IsECMAObject()
571 return GetObjectType() == JSType::JS_REALM; in IsRealm()
576 return GetObjectType() == JSType::HCLASS; in IsHClass()
581 JSType jsType = GetObjectType(); in IsString()
587 return GetObjectType() == JSType::LINE_STRING; in IsLineString()
592 return GetObjectType() == JSType::CONSTANT_STRING; in IsConstantString()
597 return GetObjectType() == JSType::SLICED_STRING; in IsSlicedString()
[all …]
Djs_tagged_value.cpp241 JSType xType = x.GetTaggedValue().GetTaggedObject()->GetClass()->GetObjectType(); in Equal()
242 JSType yType = y.GetTaggedValue().GetTaggedObject()->GetClass()->GetObjectType(); in Equal()
1148 JSType jsType = hclass->GetObjectType(); in HasContainerProperty()
1195 JSType jsType = hclass->GetObjectType(); in GetOwnContainerPropertyKeys()
1241 JSType jsType = hclass->GetObjectType(); in GetOwnContainerEnumPropertyKeys()
1279 JSType jsType = hclass->GetObjectType(); in GetContainerProperty()
1365 JSType jsType = hclass->GetObjectType(); in GetJSAPIProperty()
1407 JSType jsType = hclass->GetObjectType(); in SetJSAPIProperty()
Djs_hclass-inl.h165 auto type = GetObjectType(); in HasReferenceField()
181 auto type = GetObjectType(); in SizeFromJSHClass()
Dobject_fast_operator-inl.h122 JSType jsType = hclass->GetObjectType(); in GetPropertyByName()
193 JSType jsType = hclass->GetObjectType(); in SetPropertyByName()
318 JSType jsType = hclass->GetObjectType(); in GetPropertyByIndex()
372 JSType jsType = hclass->GetObjectType(); in SetPropertyByIndex()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dhcr_circuit_builder.h35 return Int32Equal(GetObjectType(LoadHClass(obj)), Int32(static_cast<int32_t>(JSType::HCLASS))); in IsJSHClass()
40 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunction()
50 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsType()
56 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSObject()
89 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsProxy()
95 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsTreeString()
101 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSlicedString()
107 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsLineString()
113 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsConstantString()
135 GateRef type = GetObjectType(LoadHClass(object)); in IsDictionaryMode()
[all …]
Dmcr_circuit_builder.h63 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsString()
71 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsShared()
83 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsEcmaObject()
91 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSpecialSlicedString()
121 result = Int32Equal(GetObjectType(LoadHClass(obj)), in TaggedIsBigInt()
179 GateRef objType = GetObjectType(LoadHClass(obj)); in TaggedIsSymbol()
205 GateRef objType = GetObjectType(LoadHClass(obj)); in TaggedIsStringOrSymbol()
226 GateRef objType = GetObjectType(LoadHClass(obj)); in TaggedIsProtoChangeMarker()
238 GateRef objType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsJSMap()
244 GateRef objType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsJSSet()
[all …]
Dstub_builder-inl.h661 GateRef objectType = GetObjectType(LoadHClass(x)); in TaggedIsRegularObject()
1073 inline GateRef StubBuilder::GetObjectType(GateRef hClass) in GetObjectType() function
1075 return env_->GetBuilder()->GetObjectType(hClass); in GetObjectType()
1143 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunctionBase()
1170 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSymbol()
1183 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsLineString()
1189 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSlicedString()
1195 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsConstantString()
1211 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsBigInt()
1217 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsProxy()
[all …]
/arkcompiler/ets_runtime/ecmascript/serializer/
Dbase_serializer.cpp124 JSType type = kclass->GetObjectType(); in SerializeHClassFieldIndividually()
168 ASSERT(root->GetClass()->GetObjectType() == JSType::JS_SHARED_FUNCTION); in SerializeSFunctionFieldIndividually()
190 ASSERT(root->GetClass()->GetObjectType() == JSType::LEXICAL_ENV); in SerializeLexicalEnvFieldIndividually()
213 ASSERT(root->GetClass()->GetObjectType() == JSType::JS_ASYNC_FUNCTION); in SerializeAsyncFunctionFieldIndividually()
280 data_->WriteUint8(static_cast<uint8_t>(kclass->GetObjectType())); in SerializeObjectProto()
287 JSType objectType = root->GetClass()->GetObjectType(); in SerializeTaggedObjField()
Dvalue_serializer.cpp26 JSType type = object->GetClass()->GetObjectType(); in CheckObjectCanSerialize()
165 JSType type = object->GetClass()->GetObjectType(); in SerializeObjectImpl()
232 JSType type = object->GetClass()->GetObjectType(); in SerializeJSError()
/arkcompiler/ets_runtime/ecmascript/tests/
Dthrow_oom_error_test.cpp67 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
100 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
Dobject_factory_test.cpp89 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_OBJECT); in HWTEST_F_L0()
126 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_FUNCTION); in HWTEST_F_L0()
Dgc_third_test.cpp133 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/mem/
Dverification.cpp36 << ", obj type=" << JSHClass::DumpJSType(obj->GetClass()->GetObjectType()) in LogErrorForObjSlot()
41 … << ", slot value type=" << JSHClass::DumpJSType(slotValue->GetClass()->GetObjectType()) in LogErrorForObjSlot()
45 << ", value type=" << JSHClass::DumpJSType(value->GetClass()->GetObjectType()) in LogErrorForObjSlot()
62 << ", obj type=" << JSHClass::DumpJSType(obj->GetClass()->GetObjectType()) in LogErrorForObj()
262 << JSHClass::DumpJSType(slot.GetTaggedObject()->GetClass()->GetObjectType()) in operator ()()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper-inl.h72 JSType type = obj->GetJSHClass()->GetObjectType(); in TYPED_ARRAY_TYPES()
106 JSType type = obj->GetJSHClass()->GetObjectType(); in GetElementSize()
132 JSType type = obj->GetTaggedObject()->GetClass()->GetObjectType(); in GetConstructor()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_layout.h238 JSType GetObjectType() const in GetObjectType() function
461 JSType GetObjectType() const in GetObjectType() function
609 root->SetObjectType(rootLayoutDesc->GetObjectType()); in Merge()
633 rootLayoutDesc->SetObjectType(root->GetObjectType()); in Convert()
Dpgo_profiler_layout.cpp85 rootLayout = new RootHClassLayoutDesc(rootType, rootHClass->GetObjectType(), in DumpForRoot()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dencode_bit.h110 size_t GetObjectType() const in GetObjectType() function
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
Dreference_storage.h48 static Reference::ObjectType GetObjectType(const Reference *ref);
/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeRecorder.cpp271 int64_t TypeRecorder::GetObjectType(const std::string &objectStr) const in GetObjectType() function in panda::es2panda::extractor::TypeRecorder
279 ASSERT(GetObjectType(objectStr) == objectIndex); in SetObjectType()
DtypeRecorder.h96 int64_t GetObjectType(const std::string &objectStr) const;
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
Dobject_type_propagation.cpp78 …if (i->GetType() != DataType::REFERENCE || i->CastToLoadObject()->GetObjectType() != ObjectType::M… in VisitLoadObject()
/arkcompiler/ets_runtime/ecmascript/ic/
Dic_runtime.cpp285 JSType type = receiver->GetTaggedObject()->GetClass()->GetObjectType(); in LoadTypedArrayValueMiss()
384 JSType type = receiver->GetTaggedObject()->GetClass()->GetObjectType(); in StoreTypedArrayValueMiss()
Dic_compare_op.cpp187 JSType xType = left.GetTaggedObject()->GetClass()->GetObjectType(); in EqualWithIC()
188 JSType yType = right.GetTaggedObject()->GetClass()->GetObjectType(); in EqualWithIC()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dchecks_elimination.cpp173 if (userInst->CastToLoadObject()->GetObjectType() == ObjectType::MEM_DYN_CLASS) { in UpdateHclassChecks()
176 ASSERT(userInst->CastToLoadObject()->GetObjectType() == ObjectType::MEM_DYN_METHOD); in UpdateHclassChecks()
202 loadClass->CastToLoadObject()->GetObjectType() != ObjectType::MEM_DYN_CLASS) { in GetHclassCheckFromLoads()
208 loadHclass->CastToLoadObject()->GetObjectType() != ObjectType::MEM_DYN_HCLASS) { in GetHclassCheckFromLoads()
224 inst->CastToLoadObject()->GetObjectType() == ObjectType::MEM_DYN_METHOD; in IsInlinedCallLoadMethod()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dinst.cpp709 return this->CastToLoadObject()->GetObjectType() != ObjectType::MEM_DYN_CLASS && in IsMovableObject()
710 this->CastToLoadObject()->GetObjectType() != ObjectType::MEM_DYN_HCLASS; in IsMovableObject()

123