Lines Matching defs:constpool

74     JSTaggedValue constpool = method->GetConstantPool();
75 [[maybe_unused]] const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject());
78 return constpool;
86 JSTaggedValue constpool = method->GetConstantPool();
87 [[maybe_unused]] const ConstantPool *taggedPool = ConstantPool::Cast(constpool.GetTaggedObject());
90 return constpool;
95 JSTaggedValue constpool = GetConstantPoolByMethodOffset(methodOffset);
96 if (constpool.IsUndefined()) {
99 ASSERT(!ConstantPool::CheckUnsharedConstpool(constpool));
100 JSTaggedValue unSharedConstpool = hostThread_->GetCurrentEcmaContext()->FindUnsharedConstpool(constpool);
107 [[maybe_unused]] JSTaggedValue constpool = method->GetConstantPool();
108 ASSERT(constpool == sharedConstpool);
123 JSTaggedValue constpool;
130 constpool = Method::Cast(calleeFunc->GetMethod())->GetConstantPool();
132 constpool = currMethod->GetConstantPool();
134 return constpool;
137 JSTaggedValue JitCompilationEnv::GetArrayLiteralFromCache(JSTaggedValue constpool, uint32_t index, CString entry) const
140 return ConstantPool::GetLiteralFromCache<ConstPoolType::ARRAY_LITERAL>(constpool, index, entry);
143 JSTaggedValue JitCompilationEnv::GetObjectLiteralFromCache(JSTaggedValue constpool, uint32_t index, CString entry) const
146 return ConstantPool::GetLiteralFromCache<ConstPoolType::OBJECT_LITERAL>(constpool, index, entry);
149 JSTaggedValue JitCompilationEnv::GetMethodFromCache(JSTaggedValue constpool, uint32_t index) const
151 return ConstantPool::GetMethodFromCache(constpool, index);
154 panda_file::File::EntityId JitCompilationEnv::GetIdFromCache(JSTaggedValue constpool, uint32_t index) const
157 return ConstantPool::GetIdFromCache(constpool, index);
172 // The caller should add assessment for undefined constpool.
173 // When slotValue in profileTypeInfo is changed in main thread, constpool may be undefined.
177 JSTaggedValue constpool = GetConstantPoolByMethodOffset(methodOffset);
178 if (constpool.IsUndefined()) {
181 return ConstantPool::GetStringFromCacheForJit(GetJSThread(), constpool, cpIdx, allowAlloc);