Lines Matching defs:constpool
20 JSTaggedValue ConstantPool::GetClassLiteralFromCache(JSThread *thread, JSHandle<ConstantPool> constpool,
26 JSTaggedValue val = constpool->GetObjectFromCache(literal);
27 JSPandaFile *jsPandaFile = constpool->GetJSPandaFile();
41 panda_file::File::EntityId literalId = constpool->GetEntityId(literal);
44 jsPandaFile, literalId, constpool, entry, needSetAotFlag, entryIndexes, nullptr, sendableEnv, kind);
54 CASSetObjectToCache(thread, constpool.GetTaggedValue(), literal, val);
56 constpool->SetObjectToCache(thread, literal, val);
63 JSHandle<TaggedArray> ConstantPool::GetFieldLiteral(JSThread *thread, JSHandle<ConstantPool> constpool,
66 JSPandaFile *jsPandaFile = constpool->GetJSPandaFile();
71 thread, jsPandaFile, literalId, constpool, entry, false, entryIndexes);
75 JSTaggedValue ConstantPool::GetStringFromCacheForJit(JSThread *thread, JSTaggedValue constpool, uint32_t index,
78 const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject());
96 JSTaggedValue ConstantPool::GetStringFromCache(JSThread *thread, JSTaggedValue constpool, uint32_t index)
98 const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject());
102 JSTaggedValue unsharedCp = thread->GetCurrentEcmaContext()->FindOrCreateUnsharedConstpool(constpool);
114 JSHandle<ConstantPool> constpoolHandle(thread, constpool);
134 void ConstantPool::MergeObjectLiteralHClassCache(EcmaVM *vm, const JSHandle<JSTaggedValue> &constpool)
136 if (constpool->IsHole()) {
139 JSHandle<ConstantPool> pool(constpool);
183 JSTaggedValue ConstantPool::GetMethodFromCache(JSTaggedValue constpool, uint32_t index)
185 const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject());