Home
last modified time | relevance | path

Searched refs:methodIndex (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/patch/
Dpatch_loader.h33 bool operator < (const BaseMethodIndex &methodIndex) const
35 if (constpoolNum < methodIndex.constpoolNum) {
38 … if (constpoolNum == methodIndex.constpoolNum && constpoolIndex < methodIndex.constpoolIndex) {
41 … if (constpoolNum == methodIndex.constpoolNum && constpoolIndex == methodIndex.constpoolIndex) {
42 return literalIndex < methodIndex.literalIndex;
Dpatch_loader.cpp161 const auto &methodIndex = item.first; in UnloadPatchInternal() local
163 (baseConstpoolValues.value().get()[methodIndex.constpoolNum]).GetTaggedObject()); in UnloadPatchInternal()
165 uint32_t constpoolIndex = methodIndex.constpoolIndex; in UnloadPatchInternal()
166 uint32_t literalIndex = methodIndex.literalIndex; in UnloadPatchInternal()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp772 …auto methodIndex = (bcIns.GetId <BytecodeInstruction::Format::IMM8_ID16_ID16_IMM16_V8, 0>()).AsRaw… in CollectConstantPoolIndexInfoFromBC() local
773 …AddConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::METHOD, methodIndex, methodOffset, bcInde… in CollectConstantPoolIndexInfoFromBC()
780 …auto methodIndex = (bcIns.GetId <BytecodeInstruction::Format::IMM16_ID16_ID16_IMM16_V8, 0>()).AsRa… in CollectConstantPoolIndexInfoFromBC() local
781 …AddConstantPoolIndexToBCInfo(ConstantPoolInfo::ItemType::METHOD, methodIndex, methodOffset, bcInde… in CollectConstantPoolIndexInfoFromBC()
Dtype_mcr_lowering.cpp990 auto methodIndex = acc_.GetValueIn(gate, 1); in LowerJSCallTargetTypeCheck() local
995 GateRef methodTarget = GetObjectFromConstPool(jsFunc, methodIndex); in LowerJSCallTargetTypeCheck()
1014 auto methodIndex = acc_.GetValueIn(gate, 1); in LowerJSFastCallTargetTypeCheck() local
1019 GateRef methodTarget = GetObjectFromConstPool(jsFunc, methodIndex); in LowerJSFastCallTargetTypeCheck()
Dts_hcr_lowering.cpp1167 int methodIndex = tsManager_->GetMethodIndex(funcGt); in CheckCallTargetAndLowerCall() local
1168 if (!tsManager_->MethodOffsetIsVaild(funcGt) || methodIndex == -1) { in CheckCallTargetAndLowerCall()
1174 func, builder_.IntPtr(methodIndex), gate); in CheckCallTargetAndLowerCall()
1180 func, builder_.IntPtr(methodIndex), gate); in CheckCallTargetAndLowerCall()
Dcircuit_builder-inl.h925 GateRef CircuitBuilder::JSCallTargetTypeCheck(GateType type, GateRef func, GateRef methodIndex, Gat… in JSCallTargetTypeCheck() argument
933 {currentControl, currentDepend, func, methodIndex, frameState}, GateType::NJSValue()); in JSCallTargetTypeCheck()
Dcircuit_builder.h267 GateRef JSCallTargetTypeCheck(GateType type, GateRef func, GateRef methodIndex, GateRef gate);
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.cpp687 void TSManager::SetFuncMethodOffset(GlobalTSTypeRef gt, uint32_t methodIndex) in SetFuncMethodOffset() argument
693 functionType->SetMethodOffset(methodIndex); in SetFuncMethodOffset()
1447 uint32_t methodIndex = item.second; in ResolveSnapshotConstantPool() local
1450 JSTaggedValue val = newCP->GetObjectFromCache(methodIndex); in ResolveSnapshotConstantPool()
1457 newCP->SetObjectToCache(thread_, methodIndex, JSTaggedValue(entryIndex)); in ResolveSnapshotConstantPool()