Home
last modified time | relevance | path

Searched refs:instIndex (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_frontend/es2panda/typescript/extractor/
DtypeRecorder.cpp191 void TypeRecorder::SetBuiltinInst(const std::vector<int64_t> &allTypes, int64_t instIndex) in SetBuiltinInst() argument
193 builtinInst_[allTypes] = instIndex; in SetBuiltinInst()
194 ASSERT(GetBuiltinInst(allTypes) == instIndex); in SetBuiltinInst()
202 void TypeRecorder::SetGenericInst(const std::vector<int64_t> &allTypes, int64_t instIndex) in SetGenericInst() argument
204 genericInst_[allTypes] = instIndex; in SetGenericInst()
205 ASSERT(GetGenericInst(allTypes) == instIndex); in SetGenericInst()
224 void TypeRecorder::SetClassInst(int64_t classIndex, int64_t instIndex) in SetClassInst() argument
229 classInst_[classIndex] = instIndex; in SetClassInst()
230 ASSERT(GetClassInst(classIndex) == instIndex); in SetClassInst()
233 int64_t TypeRecorder::GetClassType(int64_t instIndex) const in GetClassType()
[all …]
DtypeRecorder.h76 void SetBuiltinInst(const std::vector<int64_t> &allTypes, int64_t instIndex);
79 void SetGenericInst(const std::vector<int64_t> &allTypes, int64_t instIndex);
85 void SetClassInst(int64_t classIndex, int64_t instIndex);
87 int64_t GetClassType(int64_t instIndex) const;
88 void SetClassType(int64_t instIndex, int64_t classIndex);
/arkcompiler/ets_frontend/ts2panda/ts2abc/
Dts2abc.cpp626 auto instIndex = sourceTypeMap[i].asInt(); in GetInstTypeMap() local
628 if (instIndex < 0) { // para in GetInstTypeMap()
629 instTypeMap.emplace_back(instIndex, typeIndex); in GetInstTypeMap()
634 for (; start < instIndex; start++) { in GetInstTypeMap()
639 instTypeMap.emplace_back(instIndex - remove, typeIndex); in GetInstTypeMap()