Searched refs:PropertiesCache (Results 1 - 10 of 10) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ic/ |
H A D | properties_cache.h | 28 class PropertiesCache { class 105 PropertiesCache() in PropertiesCache() function in panda::ecmascript::PropertiesCache 113 ~PropertiesCache() = default;
|
/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
H A D | properties_cache_test.cpp | 52 * @tc.desc: Creating PropertiesCache through "GetPropertiesCache" function,Set two values through "Set" function, 67 PropertiesCache *handleProCache = thread->GetPropertiesCache(); in HWTEST_F_L0() 75 EXPECT_EQ(handleProCache->Get(FuncHClass, handleKey10.GetTaggedValue()), -1); // PropertiesCache::NOT_FOUND in HWTEST_F_L0() 83 EXPECT_EQ(handleProCache->Get(FuncHClass, handleSymbol.GetTaggedValue()), -1); // PropertiesCache::NOT_FOUND in HWTEST_F_L0() 89 * @tc.desc: Creating PropertiesCache through "GetPropertiesCache" function,Set two values through "Set" function, 102 PropertiesCache *handleProCache = thread->GetPropertiesCache(); in HWTEST_F_L0() 107 EXPECT_EQ(handleProCache->Get(FuncHClass, handleKey.GetTaggedValue()), -1); // PropertiesCache::NOT_FOUND in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | layout_info-inl.h | 126 PropertiesCache *cache = thread->GetPropertiesCache(); 128 if (index == PropertiesCache::NOT_FOUND) {
|
H A D | ecma_context.h | 553 PropertiesCache *GetPropertiesCache() const in GetPropertiesCache() 671 PropertiesCache *propertiesCache_ {nullptr};
|
H A D | js_thread.h | 48 class PropertiesCache; 457 PUBLIC_API PropertiesCache *GetPropertiesCache() const;
|
H A D | js_thread.cpp | 1067 PropertiesCache *JSThread::GetPropertiesCache() const in GetPropertiesCache()
|
H A D | ecma_context.cpp | 71 propertiesCache_ = new PropertiesCache(); in Initialize()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | stub_builder-inl.h | 3873 PtrAdd(cache, PtrMul(ZExtInt32ToPtr(hash), IntPtr(PropertiesCache::PropertyKey::GetPropertyKeySize()))); in SetToPropertiesCache() 3874 StoreWithoutBarrier(VariableType::JS_POINTER(), prop, IntPtr(PropertiesCache::PropertyKey::GetHclassOffset()), cls); in SetToPropertiesCache() 3875 StoreWithoutBarrier(VariableType::JS_ANY(), prop, IntPtr(PropertiesCache::PropertyKey::GetKeyOffset()), key); in SetToPropertiesCache() 3876 StoreWithoutBarrier(VariableType::INT32(), prop, IntPtr(PropertiesCache::PropertyKey::GetResultsOffset()), result); in SetToPropertiesCache() 3889 return Int32And(Int32Xor(clsHash, keyHash), Int32(PropertiesCache::CACHE_LENGTH_MASK)); in HashFromHclassAndKey()
|
H A D | stub_builder.cpp | 354 BRANCH(Int32Equal(index, Int32(PropertiesCache::NOT_FOUND)), ¬Find, &find); in FindElementWithCache() 358 BRANCH(Int32Equal(*result, Int32(PropertiesCache::NOT_FOUND)), &exit, &setCache); in FindElementWithCache() 379 DEFVARIABLE(result, VariableType::INT32(), Int32(PropertiesCache::NOT_FOUND)); in GetIndexFromPropertiesCache() 385 PtrAdd(cache, PtrMul(ZExtInt32ToPtr(hash), IntPtr(PropertiesCache::PropertyKey::GetPropertyKeySize()))); in GetIndexFromPropertiesCache() 386 size_t propHclassOffset = PropertiesCache::PropertyKey::GetHclassOffset(); in GetIndexFromPropertiesCache() 387 size_t propKeyOffset = PropertiesCache::PropertyKey::GetKeyOffset(); in GetIndexFromPropertiesCache() 394 result = Load(VariableType::INT32(), prop, IntPtr(PropertiesCache::PropertyKey::GetResultsOffset())); in GetIndexFromPropertiesCache()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs.cpp | 3127 PropertiesCache *cache = thread->GetPropertiesCache(); in FindElementWithCache() 3129 if (index == PropertiesCache::NOT_FOUND) { in FindElementWithCache()
|
Completed in 46 milliseconds