Searched refs:EnumCacheKind (Results 1 – 12 of 12) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | js_for_in_iterator.cpp | 25 …nIterator::IsEnumCacheValid(JSTaggedValue receiver, JSTaggedValue cachedHclass, EnumCacheKind kind) in IsEnumCacheValid() 32 if (kind == EnumCacheKind::SIMPLE) { in IsEnumCacheValid() 35 ASSERT(kind == EnumCacheKind::PROTOCHAIN); in IsEnumCacheValid() 86 EnumCacheKind kind = JSObject::GetEnumCacheKind(thread, taggedKeys); in NextInternal()
|
D | js_object-inl.h | 482 inline void JSObject::SetEnumCacheKind(JSThread *thread, TaggedArray *array, EnumCacheKind kind) in SetEnumCacheKind() 487 inline EnumCacheKind JSObject::GetEnumCacheKind(JSThread *thread, TaggedArray *array) in GetEnumCacheKind() 489 … return static_cast<EnumCacheKind>(array->Get(thread, EnumCache::ENUM_CACHE_KIND_OFFSET).GetInt()); in GetEnumCacheKind() 492 inline EnumCacheKind JSObject::GetEnumCacheKind(JSThread *thread, JSTaggedValue enumCache) in GetEnumCacheKind() 495 return EnumCacheKind::NONE; in GetEnumCacheKind() 499 return EnumCacheKind::SIMPLE; in GetEnumCacheKind()
|
D | property_accessor.cpp | 131 JSObject::SetEnumCacheKind(thread_, *newArray, EnumCacheKind::SIMPLE); in InitSimplePropertiesEnumCache() 178 …tEnumCacheKind(thread_, TaggedArray::Cast(fastKeysArray_->GetTaggedObject()), EnumCacheKind::NONE); in TryInitEnumCacheWithProtoChainInfo() 186 thread_, TaggedArray::Cast(fastKeysArray_->GetTaggedObject()), EnumCacheKind::PROTOCHAIN); in TryInitEnumCacheWithProtoChainInfo() 312 JSObject::SetEnumCacheKind(thread_, *keyArray, EnumCacheKind::NONE); in MergeRemainings()
|
D | js_for_in_iterator.h | 47 …static bool IsEnumCacheValid(JSTaggedValue receiver, JSTaggedValue cachedHclass, EnumCacheKind kin…
|
D | js_object.h | 47 using EnumCacheKind = EnumCache::EnumCacheKind; variable 726 static void SetEnumCacheKind(JSThread *thread, TaggedArray *array, EnumCacheKind kind); 727 static EnumCacheKind GetEnumCacheKind(JSThread *thread, TaggedArray *array); 728 static EnumCacheKind GetEnumCacheKind(JSThread *thread, JSTaggedValue enumCache);
|
D | js_object.cpp | 507 if (JSObject::GetEnumCacheKind(thread, enumCache) == EnumCacheKind::ONLY_OWN_KEYS) { in GetAllEnumKeys() 519 JSObject::SetEnumCacheKind(thread, *keyArray, EnumCacheKind::ONLY_OWN_KEYS); in GetAllEnumKeys() 2440 EnumCacheKind kind = JSObject::GetEnumCacheKind(thread, enumCache); in TryGetEnumCache() 2443 case EnumCacheKind::SIMPLE: in TryGetEnumCache() 2446 case EnumCacheKind::PROTOCHAIN: in TryGetEnumCache()
|
D | js_hclass.h | 327 enum class EnumCacheKind : uint8_t { enum
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | fast_json_stringifier.cpp | 495 if (JSObject::GetEnumCacheKind(thread_, enumCache) == EnumCacheKind::ONLY_OWN_KEYS) { in TryCacheSerializeKeys() 780 if (JSObject::GetEnumCacheKind(thread_, enumCache) == EnumCacheKind::ONLY_OWN_KEYS) { in DefaultSerializeKeys()
|
D | json_stringifier.cpp | 648 if (JSObject::GetEnumCacheKind(thread_, enumCache) == EnumCacheKind::ONLY_OWN_KEYS) { in SerializeKeys()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | mcr_circuit_builder.cpp | 1235 DEFVALUE(result, env_, VariableType::INT32(), Int32(static_cast<int32_t>(EnumCacheKind::NONE))); in GetEnumCacheKind() 1247 result = Int32(static_cast<int32_t>(EnumCacheKind::SIMPLE)); in GetEnumCacheKind() 1280 Branch(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::SIMPLE))), in IsEnumCacheValid()
|
D | stub_builder.cpp | 6535 Branch(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::SIMPLE))), in TryGetEnumCache() 6542 Branch(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::PROTOCHAIN))), in TryGetEnumCache()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
D | builtins_object_stub_builder.cpp | 1096 Branch(Int32Equal(kind, Int32(static_cast<int32_t>(EnumCacheKind::ONLY_OWN_KEYS))), in GetAllEnumKeys() 1114 IntToTaggedInt(Int32(static_cast<int32_t>(EnumCacheKind::ONLY_OWN_KEYS)))); in GetAllEnumKeys()
|