Home
last modified time | relevance | path

Searched refs:indexValue (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp97 uint32_t indexValue = static_cast<uint32_t>(acc_.GetConstantValue(index)); in LowerLdLexVar() local
98 indexValue += LexicalEnv::RESERVED_ENV_LENGTH; in LowerLdLexVar()
101 result = builder_.LoadFromTaggedArray(currentEnv, indexValue); in LowerLdLexVar()
104 result = builder_.LoadFromTaggedArray(parentEnv, indexValue); in LowerLdLexVar()
121 uint32_t indexValue = static_cast<uint32_t>(acc_.GetConstantValue(index)); in LowerStLexVar() local
122 indexValue += LexicalEnv::RESERVED_ENV_LENGTH; in LowerStLexVar()
125 result = builder_.StoreToTaggedArray(currentEnv, indexValue, value); in LowerStLexVar()
128 result = builder_.StoreToTaggedArray(parentEnv, indexValue, value); in LowerStLexVar()
195 uint32_t indexValue = static_cast<uint32_t>(acc_.GetConstantValue(index)); in LowerNTypedStownByIndex() local
197 acc_.SetArraySize(receiver, std::max(arraySize, indexValue + 1)); in LowerNTypedStownByIndex()
[all …]
Dts_hcr_lowering.cpp771 uint32_t indexValue = static_cast<uint32_t>(acc_.GetConstantValue(index)); in LowerTypedLdObjByIndex() local
772 index = builder_.Int32(indexValue); in LowerTypedLdObjByIndex()
805 uint32_t indexValue = static_cast<uint32_t>(acc_.GetConstantValue(index)); in LowerTypedStObjByIndex() local
806 index = builder_.Int32(indexValue); in LowerTypedStObjByIndex()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_array_test.cpp176 JSHandle<JSTaggedValue> indexValue(thread, JSTaggedValue(6)); in HWTEST_F_L0() local
188 EXPECT_EQ(JSObject::GetProperty(thread, TaggedArrayObj, indexValue).GetValue(), indexValue); in HWTEST_F_L0()
196 EXPECT_EQ(JSObject::GetProperty(thread, TaggedArrayObj, indexValue).GetValue(), undefinedValue); in HWTEST_F_L0()
Djs_api_tree_set_iterator_test.cpp299 JSHandle<JSTaggedValue> indexValue(thread, JSTaggedValue(index)); in HWTEST_F_L0() local
301 JSObject::GetProperty(thread, keyValueArr, indexValue).GetValue(), key), true); in HWTEST_F_L0()
Djs_api_tree_map_iterator_test.cpp315 JSHandle<JSTaggedValue> indexValue(thread, JSTaggedValue(index)); in HWTEST_F_L0() local
317 JSObject::GetProperty(thread, keyValueArr, indexValue).GetValue(), value), true); in HWTEST_F_L0()
Dtagged_hash_array_test.cpp55 JSTaggedValue indexValue = hashArray->Get(i); in CheckHole() local
56 if (indexValue.IsHole()) { in CheckHole()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_regexp.cpp1476 JSHandle<JSTaggedValue> indexValue(thread, JSTaggedValue(matchIndex)); in RegExpBuiltinExec() local
1477 JSObject::CreateDataProperty(thread, results, indexKey, indexValue); in RegExpBuiltinExec()