| /arkcompiler/ets_runtime/ecmascript/ |
| D | js_hclass.h | 477 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 …]
|
| D | js_tagged_value.cpp | 241 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()
|
| D | js_hclass-inl.h | 165 auto type = GetObjectType(); in HasReferenceField() 181 auto type = GetObjectType(); in SizeFromJSHClass()
|
| D | object_fast_operator-inl.h | 122 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/ |
| D | hcr_circuit_builder.h | 35 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 …]
|
| D | mcr_circuit_builder.h | 63 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 …]
|
| D | stub_builder-inl.h | 661 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/ |
| D | base_serializer.cpp | 124 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()
|
| D | value_serializer.cpp | 26 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/ |
| D | throw_oom_error_test.cpp | 67 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0() 100 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
|
| D | object_factory_test.cpp | 89 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_OBJECT); in HWTEST_F_L0() 126 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_FUNCTION); in HWTEST_F_L0()
|
| D | gc_third_test.cpp | 133 JSType errorType = thread->GetException().GetTaggedObject()->GetClass()->GetObjectType(); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | verification.cpp | 36 << ", 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/ |
| D | typed_array_helper-inl.h | 72 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/ |
| D | pgo_profiler_layout.h | 238 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()
|
| D | pgo_profiler_layout.cpp | 85 rootLayout = new RootHClassLayoutDesc(rootType, rootHClass->GetObjectType(), in DumpForRoot()
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
| D | encode_bit.h | 110 size_t GetObjectType() const in GetObjectType() function
|
| /arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
| D | reference_storage.h | 48 static Reference::ObjectType GetObjectType(const Reference *ref);
|
| /arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
| D | typeRecorder.cpp | 271 int64_t TypeRecorder::GetObjectType(const std::string &objectStr) const in GetObjectType() function in panda::es2panda::extractor::TypeRecorder 279 ASSERT(GetObjectType(objectStr) == objectIndex); in SetObjectType()
|
| D | typeRecorder.h | 96 int64_t GetObjectType(const std::string &objectStr) const;
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | object_type_propagation.cpp | 78 …if (i->GetType() != DataType::REFERENCE || i->CastToLoadObject()->GetObjectType() != ObjectType::M… in VisitLoadObject()
|
| /arkcompiler/ets_runtime/ecmascript/ic/ |
| D | ic_runtime.cpp | 285 JSType type = receiver->GetTaggedObject()->GetClass()->GetObjectType(); in LoadTypedArrayValueMiss() 384 JSType type = receiver->GetTaggedObject()->GetClass()->GetObjectType(); in StoreTypedArrayValueMiss()
|
| D | ic_compare_op.cpp | 187 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/ |
| D | checks_elimination.cpp | 173 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/ |
| D | inst.cpp | 709 return this->CastToLoadObject()->GetObjectType() != ObjectType::MEM_DYN_CLASS && in IsMovableObject() 710 this->CastToLoadObject()->GetObjectType() != ObjectType::MEM_DYN_HCLASS; in IsMovableObject()
|