Home
last modified time | relevance | path

Searched refs:slot (Results 1 - 25 of 121) sorted by relevance

12345

/arkcompiler/ets_runtime/ecmascript/mem/
H A Dverification.cpp22 void LogErrorForObjSlot(const BaseHeap *heap, const char *headerInfo, TaggedObject *obj, ObjectSlot slot, in LogErrorForObjSlot() argument
25 TaggedObject *slotValue = slot.GetTaggedObject(); in LogErrorForObjSlot()
35 << ", slot address=" << reinterpret_cast<void*>(slot.SlotAddress()) in LogErrorForObjSlot()
36 << ", slot value=" << slotValue in LogErrorForObjSlot()
37 << ", slot value region=" << slotRegion in LogErrorForObjSlot()
38 << ", slot value space type=" << slotRegion->GetSpaceTypeName() in LogErrorForObjSlot()
39 << ", slot value type=" << JSHClass::DumpJSType(slotValue->GetClass()->GetObjectType()) in LogErrorForObjSlot()
45 << ", obj slot oldToNew bit=" << region->TestOldToNew(slot in LogErrorForObjSlot()
115 VerifyObjectSlotLegal(ObjectSlot slot, TaggedObject *object) const VerifyObjectSlotLegal() argument
133 VerifyHeapObjectSlotLegal(ObjectSlot slot, JSTaggedValue slotValue, TaggedObject *object) const VerifyHeapObjectSlotLegal() argument
185 VerifyMarkEden(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifyMarkEden() argument
229 VerifyMarkYoung(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifyMarkYoung() argument
266 VerifyEvacuateEden(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifyEvacuateEden() argument
305 VerifyEvacuateYoung(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifyEvacuateYoung() argument
344 VerifyMarkFull(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifyMarkFull() argument
366 VerifyEvacuateOld([[maybe_unused]]TaggedObject *root, [[maybe_unused]]ObjectSlot slot, [[maybe_unused]]TaggedObject *value) const VerifyEvacuateOld() argument
373 VerifyEvacuateFull([[maybe_unused]]TaggedObject *root, [[maybe_unused]]ObjectSlot slot, [[maybe_unused]]TaggedObject *value) const VerifyEvacuateFull() argument
380 VerifySharedObjectReference(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifySharedObjectReference() argument
397 VerifySharedRSetPostFullGC(TaggedObject *object, ObjectSlot slot, TaggedObject *value) const VerifySharedRSetPostFullGC() argument
492 VerifyObjectSlot(const ObjectSlot &slot, size_t *failCount) const VerifyObjectSlot() argument
844 VerifyObjectSlot(const ObjectSlot &slot, size_t *failCount) const VerifyObjectSlot() argument
[all...]
H A Dparallel_marker-inl.h40 for (ObjectSlot slot = start; slot < end; slot++) { in VisitBodyInObj()
43 callback(slot, rootRegion, needBarrier); in VisitBodyInObj()
49 inline void NonMovableMarker::MarkValue(uint32_t threadId, ObjectSlot &slot, Region *rootRegion, bool needBarrier) in MarkValue() argument
51 JSTaggedValue value(slot.GetTaggedType()); in MarkValue()
65 RecordWeakReference(threadId, reinterpret_cast<JSTaggedType *>(slot.SlotAddress()), rootRegion); in MarkValue()
71 rootRegion->AtomicInsertCrossRegionRSet(slot.SlotAddress()); in MarkValue()
103 inline void NonMovableMarker::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() argument
105 JSTaggedValue value(slot in HandleRoots()
207 HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) HandleRoots() argument
302 UpdateForwardAddressIfSuccess(uint32_t threadId, TaggedObject *object, JSHClass *klass, uintptr_t toAddress, size_t size, ObjectSlot slot, bool isPromoted) UpdateForwardAddressIfSuccess() argument
317 UpdateForwardAddressIfFailed(TaggedObject *object, uintptr_t toAddress, size_t size, ObjectSlot slot) UpdateForwardAddressIfFailed() argument
356 SetLocalToShareRSet(ObjectSlot slot, Region *region) SetLocalToShareRSet() argument
369 MarkValue(uint32_t threadId, TaggedObject *root, ObjectSlot slot) MarkValue() argument
380 SlotNeedUpdate waitUpdate(reinterpret_cast<TaggedObject *>(root), slot); MarkValue() local
386 MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot slot) MarkObject() argument
403 EvacuateObject(uint32_t threadId, TaggedObject *object, const MarkWord &markWord, ObjectSlot slot) EvacuateObject() argument
440 MarkValue(uint32_t threadId, ObjectSlot slot) MarkValue() argument
453 MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot slot) MarkObject() argument
499 EvacuateObject(uint32_t threadId, TaggedObject *object, const MarkWord &markWord, ObjectSlot slot) EvacuateObject() argument
[all...]
H A Dparallel_evacuator-inl.h67 for (ObjectSlot slot = start; slot < end; slot++) { in VisitBodyInObj()
70 callback(slot); in VisitBodyInObj()
76 bool ParallelEvacuator::UpdateNewToEdenObjectSlot(ObjectSlot &slot) in UpdateNewToEdenObjectSlot() argument
78 JSTaggedValue value(slot.GetTaggedType()); in UpdateNewToEdenObjectSlot()
95 slot.Update(dst); in UpdateNewToEdenObjectSlot()
98 slot.Clear(); in UpdateNewToEdenObjectSlot()
104 bool ParallelEvacuator::UpdateForwardedOldToNewObjectSlot(TaggedObject *object, ObjectSlot &slot, bool isWeak) in UpdateForwardedOldToNewObjectSlot() argument
112 slot in UpdateForwardedOldToNewObjectSlot()
125 UpdateOldToNewObjectSlot(ObjectSlot &slot) UpdateOldToNewObjectSlot() argument
159 UpdateObjectSlot(ObjectSlot &slot) UpdateObjectSlot() argument
178 UpdateWeakObjectSlot(TaggedObject *value, ObjectSlot &slot) UpdateWeakObjectSlot() argument
198 UpdateObjectSlotOpt(ObjectSlot &slot) UpdateObjectSlotOpt() argument
214 UpdateWeakObjectSlotOpt(JSTaggedValue value, ObjectSlot &slot) UpdateWeakObjectSlotOpt() argument
271 SetLocalToShareRSet(ObjectSlot slot, Region *region) SetLocalToShareRSet() argument
303 SetObjectRSet(ObjectSlot slot, Region *region) SetObjectRSet() argument
[all...]
H A Dverification.h73 void VerifyObjectSlotLegal(ObjectSlot slot, TaggedObject *obj) const;
74 void VerifyHeapObjectSlotLegal(ObjectSlot slot, JSTaggedValue value, TaggedObject *obj) const;
75 void VerifyMarkEden(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
76 void VerifyEvacuateEden(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
77 void VerifyMarkYoung(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
78 void VerifyEvacuateYoung(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
79 void VerifyMarkFull(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
80 void VerifyEvacuateOld(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
81 void VerifyEvacuateFull(TaggedObject *obj, ObjectSlot slot, TaggedObject *value) const;
82 void VerifySharedRSetPostFullGC(TaggedObject *obj, ObjectSlot slot, TaggedObjec
[all...]
H A Dparallel_marker.h72 [[maybe_unused]] ObjectSlot slot) // move in MarkObject()
80 virtual inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) = 0;
108 inline void MarkValue(uint32_t threadId, ObjectSlot &slot, Region *rootRegion, bool needBarrier);
110 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override;
130 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) override;
136 ObjectSlot slot) = 0;
143 uintptr_t toAddress, size_t size, ObjectSlot slot,
145 inline bool UpdateForwardAddressIfFailed(TaggedObject *object, uintptr_t toAddress, size_t size, ObjectSlot slot);
149 inline void SetLocalToShareRSet(ObjectSlot slot, Region *region);
161 inline void MarkValue(uint32_t threadId, TaggedObject *root, ObjectSlot slot);
71 MarkObject([[maybe_unused]] uint32_t threadId, [[maybe_unused]] TaggedObject *object, [[maybe_unused]] ObjectSlot slot) MarkObject() argument
[all...]
H A Dparallel_marker.cpp27 [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}, in MarkRoots()
131 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessMarkStack()
132 MarkValue(threadId, slot, rootRegion, needBarrier); in ProcessMarkStack()
175 for (ObjectSlot slot = start; slot < end; slot++) { in ProcessIncrementalMarkStack()
176 MarkValue(threadId, slot, rootRegio in ProcessIncrementalMarkStack()
[all...]
H A Dparallel_evacuator.cpp149 ObjectSlot slot(ToUintPtr(obj)); in UpdateRecordWeakReferenceInParallel()
150 JSTaggedType value = slot.GetTaggedType(); in UpdateRecordWeakReferenceInParallel()
156 slot.Clear(); in UpdateRecordWeakReferenceInParallel()
309 RootVisitor gcUpdateYoung = [this]([[maybe_unused]] Root type, ObjectSlot slot) { in UpdateRoot()
310 UpdateObjectSlot(slot); in UpdateRoot()
313 for (ObjectSlot slot = start; slot < end; slot++) { in UpdateRoot()
314 UpdateObjectSlot(slot); in UpdateRoot()
339 ObjectSlot slot(ToUintPt in UpdateRecordWeakReference()
[all...]
/arkcompiler/ets_runtime/ecmascript/serializer/
H A Dbase_serializer.cpp133 ObjectSlot slot = start; in SerializeHClassFieldIndividually() local
134 while (slot < end) { in SerializeHClassFieldIndividually()
135 size_t fieldOffset = slot.SlotAddress() - ToUintPtr(root); in SerializeHClassFieldIndividually()
143 SerializeJSTaggedValue(JSTaggedValue(slot.GetTaggedType())); in SerializeHClassFieldIndividually()
147 slot++; in SerializeHClassFieldIndividually()
154 slot++; in SerializeHClassFieldIndividually()
162 slot++; in SerializeHClassFieldIndividually()
166 SerializeJSTaggedValue(JSTaggedValue(slot.GetTaggedType())); in SerializeHClassFieldIndividually()
167 slot++; in SerializeHClassFieldIndividually()
178 ObjectSlot slot in SerializeSFunctionFieldIndividually() local
230 ObjectSlot slot = start; SerializeLexicalEnvFieldIndividually() local
253 ObjectSlot slot = start; SerializeSendableEnvFieldIndividually() local
276 ObjectSlot slot = start; SerializeAsyncFunctionFieldIndividually() local
[all...]
/arkcompiler/ets_runtime/ecmascript/mem/shared_heap/
H A Dshared_gc_marker-inl.h27 inline void SharedGCMarker::MarkObject(uint32_t threadId, TaggedObject *object, [[maybe_unused]] ObjectSlot &slot) in MarkObject() argument
46 inline void SharedGCMarker::MarkValue(uint32_t threadId, ObjectSlot &slot) in MarkValue() argument
48 JSTaggedValue value(slot.GetTaggedType()); in MarkValue()
51 MarkObject(threadId, value.GetTaggedObject(), slot); in MarkValue()
53 RecordWeakReference(threadId, reinterpret_cast<JSTaggedType *>(slot.SlotAddress())); in MarkValue()
58 inline void SharedGCMarkerBase::HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleRoots() argument
60 JSTaggedValue value(slot.GetTaggedType()); in HandleRoots()
62 MarkObject(threadId, value.GetTaggedObject(), slot); in HandleRoots()
66 inline void SharedGCMarkerBase::HandleLocalRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot) in HandleLocalRoots() argument
68 JSTaggedValue value(slot in HandleLocalRoots()
122 RecordWeakReference(uint32_t threadId, JSTaggedType *slot) RecordWeakReference() argument
224 MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot &slot) MarkObject() argument
247 MarkValue(uint32_t threadId, ObjectSlot &slot) MarkValue() argument
264 EvacuateObject(uint32_t threadId, TaggedObject *object, const MarkWord &markWord, ObjectSlot slot) EvacuateObject() argument
304 UpdateForwardAddressIfSuccess(uint32_t threadId, TaggedObject *object, JSHClass *klass, uintptr_t toAddress, size_t size, ObjectSlot slot) UpdateForwardAddressIfSuccess() argument
319 UpdateForwardAddressIfFailed(TaggedObject *object, uintptr_t toAddress, size_t size, ObjectSlot slot) UpdateForwardAddressIfFailed() argument
[all...]
H A Dshared_gc_marker.cpp55 [this, threadId](Root type, ObjectSlot slot) {this->HandleLocalRoots(threadId, type, slot);}, in MarkLocalVMRoots()
77 auto callback = [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}; in MarkSerializeRoots()
93 auto visitor = [this, threadId](Root type, ObjectSlot slot) {this->HandleRoots(threadId, type, slot);}; in MarkSharedModule()
114 auto cb = [&](ObjectSlot slot) { in ProcessMarkStack()
115 MarkValue(threadId, slot); in ProcessMarkStack()
124 for (ObjectSlot slot = start; slot < en in ProcessMarkStack()
[all...]
H A Dshared_gc_marker.h55 inline void HandleRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot);
56 inline void HandleLocalRoots(uint32_t threadId, [[maybe_unused]] Root type, ObjectSlot slot);
68 virtual inline void MarkValue([[maybe_unused]] uint32_t threadId, [[maybe_unused]] ObjectSlot &slot) in MarkValue() argument
74 [[maybe_unused]] ObjectSlot &slot) in MarkObject()
110 inline void MarkValue(uint32_t threadId, ObjectSlot &slot) override;
111 inline void MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot &slot) override;
126 inline void MarkValue(uint32_t threadId, ObjectSlot &slot) override;
127 inline void MarkObject(uint32_t threadId, TaggedObject *object, ObjectSlot &slot) override;
129 inline void EvacuateObject(uint32_t threadId, TaggedObject *object, const MarkWord &markWord, ObjectSlot slot);
133 uintptr_t toAddress, size_t size, ObjectSlot slot);
73 MarkObject([[maybe_unused]] uint32_t threadId, [[maybe_unused]] TaggedObject *object, [[maybe_unused]] ObjectSlot &slot) MarkObject() argument
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Daot_data.cpp43 // Increment/decrement offset to specified slot in GetEntrypointOffset()
61 auto slot = gotPlt_->find({pfile_, methodId}); in GetPltSlotId() local
62 if (slot != gotPlt_->end()) { in GetPltSlotId()
63 slotId = slot->second; in GetPltSlotId()
74 auto slot = gotVirtIndexes_->find({pfile_, methodId}); in GetVirtIndexSlotOffset() local
75 if (slot != gotVirtIndexes_->end()) { in GetVirtIndexSlotOffset()
76 slotId = slot->second; in GetVirtIndexSlotOffset()
99 auto slot = gotClass_->find({pfile_, klassId}); in GetClassSlotId() local
100 if (slot != gotClass_->end()) { in GetClassSlotId()
101 slotId = slot in GetClassSlotId()
112 auto slot = gotString_->find({pfile_, stringId}); GetStringSlotId() local
125 auto slot = gotCommon_->find({pfile_, id}); GetCommonSlotOffset() local
144 auto slot = gotIntfInlineCache_->find({pfile_, cacheIdx}); GetIntfInlineCacheSlotId() local
[all...]
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dreg_alloc_verifier.h30 (GP register, FP register, stack slot or immediate table slot for spilled constants).
192 const LocationState &GetStack(StackSlot slot) const
194 ASSERT(slot < stack_.size());
195 return stack_[slot];
197 LocationState &GetStack(StackSlot slot)
199 ASSERT(slot < stack_.size());
200 return stack_[slot];
202 const LocationState &GetStackArg(StackSlot slot) const
204 ASSERT(slot < stackArg
[all...]
/arkcompiler/runtime_core/bytecode_optimizer/
H A Dbytecode_analysis_results.cpp29 uint32_t slot = iter.first; in SetModuleConstantAnalysisResult() local
30 if (slot < local_export_slot_external_names_.size()) { in SetModuleConstantAnalysisResult()
31 const auto &external_names = local_export_slot_external_names_[slot]; in SetModuleConstantAnalysisResult()
44 void BytecodeAnalysisResult::SetLocalExportInfo(uint32_t slot, const std::string &external_name) in SetLocalExportInfo() argument
46 if (slot == local_export_slot_external_names_.size()) { in SetLocalExportInfo()
50 ASSERT(slot < local_export_slot_external_names_.size()); in SetLocalExportInfo() argument
51 local_export_slot_external_names_[slot].push_back(external_name); in SetLocalExportInfo()
55 void BytecodeAnalysisResult::SetRegularImportInfo(uint32_t slot,
59 [[maybe_unused]] auto iter = regular_import_slot_infos_.find(slot);
62 regular_import_slot_infos_.emplace(slot, inf
83 GetRegularImportInfo(uint32_t slot, std::string &import_name, std::string &source_record) const GetRegularImportInfo() argument
96 GetNamespaceImportInfo(uint32_t slot, std::string &source_record) const GetNamespaceImportInfo() argument
[all...]
H A Dbytecode_analysis_results.h37 void SetLocalExportInfo(uint32_t slot, const std::string &external_name);
38 void SetRegularImportInfo(uint32_t slot, const std::string &import_name, const std::string &source_record);
39 void SetNamespaceImportInfo(uint32_t slot, const std::string &source_record);
50 bool GetLocalExportInfo(uint32_t slot, uint32_t name_idx, std::string &external_name) const;
51 bool GetRegularImportInfo(uint32_t slot, std::string &import_name, std::string &source_record) const;
52 bool GetNamespaceImportInfo(uint32_t slot, std::string &source_record) const;
/arkcompiler/runtime_core/static_core/runtime/
H A Dcframe.cpp233 size_t slot = 0; in Dump() local
234 DumpCalleeRegs(os, printMem, &dscr, &slot); in Dump()
235 DumpCalleeFPRegs(os, printMem, &dscr, &slot); in Dump()
236 DumpCallerRegs(os, printMem, &dscr, &slot); in Dump()
237 DumpCallerFPRegs(os, printMem, &dscr, &slot); in Dump()
238 DumpLocals(os, printMem, &dscr, &slot, maxSlot); in Dump()
244 void CFrame::DumpCalleeRegs(std::ostream &os, MemPrinter printMem, PandaString *dscr, size_t *slot) in DumpCalleeRegs() argument
248 i >= ark::helpers::ToSigned(GetFirstCalleeReg(ARCH, false)); i--, (*slot)++) { in DumpCalleeRegs()
249 *dscr = "x" + ToPandaString(i) + ":" + ToPandaString(*slot); in DumpCalleeRegs()
251 printMem(os, fp_ - CFrameLayout::STACK_START_SLOT - *slot, *dsc in DumpCalleeRegs()
255 DumpCalleeFPRegs(std::ostream &os, MemPrinter printMem, PandaString *dscr, size_t *slot) DumpCalleeFPRegs() argument
266 DumpCallerRegs(std::ostream &os, MemPrinter printMem, PandaString *dscr, size_t *slot) DumpCallerRegs() argument
278 DumpCallerFPRegs(std::ostream &os, MemPrinter printMem, PandaString *dscr, size_t *slot) DumpCallerFPRegs() argument
289 DumpLocals(std::ostream &os, MemPrinter printMem, PandaString *dscr, size_t *slot, int32_t maxSlot) DumpLocals() argument
[all...]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_base.h99 for (size_t slot = 0; slot < GetStackMask().GetSize(); slot++) { in GetNextStackSlotImpl()
100 if (GetStackMask().IsSet(slot)) { in GetNextStackSlotImpl()
104 ASSERT(slot < stack_use_last_positions_.size()); in GetNextStackSlotImpl()
105 if (stack_use_last_positions_[slot] > interval->GetBegin()) { in GetNextStackSlotImpl()
109 GetStackMask().Set(slot); in GetNextStackSlotImpl()
110 stack_use_last_positions_[slot] = interval->GetEnd(); in GetNextStackSlotImpl()
111 return slot; in GetNextStackSlotImpl()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_base.h101 for (size_t slot = 0; slot < size; slot++) { in GetNextStackSlotImpl()
102 if (GetStackMask().IsSet(slot)) { in GetNextStackSlotImpl()
106 ASSERT(slot < stackUseLastPositions_.size()); in GetNextStackSlotImpl()
107 if (stackUseLastPositions_[slot] > interval->GetBegin()) { in GetNextStackSlotImpl()
111 GetStackMask().Set(slot); in GetNextStackSlotImpl()
112 stackUseLastPositions_[slot] = interval->GetEnd(); in GetNextStackSlotImpl()
113 return slot; in GetNextStackSlotImpl()
/arkcompiler/ets_runtime/ecmascript/debugger/
H A Ddropframe_manager.cpp52 uint16_t slot = 0; in ReadStlexvarParams() local
56 slot = READ_INST_4_1(); in ReadStlexvarParams()
60 slot = READ_INST_8_1(); in ReadStlexvarParams()
64 slot = READ_INST_16_3(); in ReadStlexvarParams()
69 return std::make_pair(level, slot); in ReadStlexvarParams()
110 uint16_t slot; in AddLexPropertiesToRecord() local
111 std::tie(level, slot) = lexVarPos; in AddLexPropertiesToRecord()
115 slot < LexicalEnv::Cast(env.GetTaggedObject())->GetLength() - LexicalEnv::RESERVED_ENV_LENGTH && in AddLexPropertiesToRecord()
116 !modifiedLexVarPos.count({i, slot})) { in AddLexPropertiesToRecord()
117 JSTaggedValue value = LexicalEnv::Cast(env.GetTaggedObject())->GetProperties(slot); in AddLexPropertiesToRecord()
156 uint16_t slot; DropLastFrame() local
196 EmplaceLexModifyRecord(JSThread *thread, JSTaggedValue env, uint16_t slot, JSTaggedValue value) EmplaceLexModifyRecord() argument
256 uint16_t slot; MergeLexModifyRecordOfTopFrame() local
[all...]
/arkcompiler/runtime_core/static_core/runtime/include/
H A Dcframe.h250 SlotType GetValueFromSlot(int slot) const in GetValueFromSlot()
252 return *GetValuePtrFromSlot(slot); in GetValueFromSlot()
255 const SlotType *GetValuePtrFromSlot(int slot) const in GetValuePtrFromSlot()
258 return reinterpret_cast<const SlotType *>(GetStackOrigin()) - slot; in GetValuePtrFromSlot()
261 void SetValueToSlot(int slot, SlotType value) in SetValueToSlot() argument
264 *(reinterpret_cast<SlotType *>(GetStackOrigin()) - slot) = value; in SetValueToSlot()
307 T *GetPtr(ptrdiff_t slot) in GetPtr() argument
310 return reinterpret_cast<T *>(GetFrameOrigin() - slot); in GetPtr()
313 const T *GetPtr(ptrdiff_t slot) const in GetPtr()
316 return reinterpret_cast<const T *>(GetFrameOrigin() - slot); in GetPtr()
[all...]
/arkcompiler/ets_frontend/es2panda/util/
H A Dbitset.cpp56 size_t slot = pos & shiftMask;
59 data_[idx] |= 1U << slot;
61 data_[idx] &= ~(1U << slot);
69 size_t slot = pos & shiftMask;
71 return (data_[idx] & (1U << slot)) != 0;
/arkcompiler/ets_runtime/ecmascript/
H A Djs_handle.h168 inline explicit JSHandle(uintptr_t slot) : address_(slot) in JSHandle() argument
171 ASSERT(slot != 0); in JSHandle()
172 if ((*reinterpret_cast<JSTaggedValue *>(slot)).IsHeapObject()) { in JSHandle()
173 T::Cast((*reinterpret_cast<JSTaggedValue *>(slot)).GetTaggedObject()); in JSHandle()
184 inline explicit JSHandle(const JSTaggedType *slot) : address_(reinterpret_cast<uintptr_t>(slot)) {} in JSHandle() argument
185 inline explicit JSHandle(const T *const *slot) : address_(reinterpret_cast<uintptr_t>(slot)) {} in JSHandle() argument
222 inline explicit JSMutableHandle(uintptr_t slot) in JSMutableHandle() argument
[all...]
/arkcompiler/ets_frontend/es2panda/binder/
H A Dvariable.cpp53 uint32_t slot = 0; in SetLexical() local
57 // get slot from symbol table for lexical variable, if not found, slot is set to UINT32_MAX in SetLexical()
58 slot = patchFixHelper->GetSlotIdFromSymbolTable(std::string(name)); in SetLexical()
60 if (patchFixHelper->IsAdditionalVarInPatch(slot)) { in SetLexical()
69 slot = varScope->NextSendableSlot(); in SetLexical()
71 slot = varScope->NextSlot(); in SetLexical()
75 BindLexEnvSlot(slot); in SetLexical()
77 varScope->AddLexicalVarNameAndType(slot, name, in SetLexical()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_env.cpp55 ObjectSlot slot(reinterpret_cast<uintptr_t>(&objectAddr)); in Iterate()
56 v(Root::ROOT_VM, slot); in Iterate()
57 rootObjectMap.emplace(slot.GetTaggedType(), it.second); in Iterate()
63 ObjectSlot slot(reinterpret_cast<uintptr_t>(&it)); in Iterate()
64 v(Root::ROOT_VM, slot); in Iterate()
/arkcompiler/ets_frontend/ets2panda/util/
H A Dbitset.cpp56 size_t slot = pos & SHIFT_MASK;
59 data_[idx] |= 1U << slot; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic)
61 data_[idx] &= ~(1U << slot); // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic)
69 size_t slot = pos & SHIFT_MASK;
71 return (data_[idx] & (1U << slot)) != 0; // NOLINT(cppcoreguidelines-pro-bounds-pointer-arithmetic)

Completed in 12 milliseconds

12345