Lines Matching defs:constpool
156 // old version dont support multi constpool
176 JSHandle<ConstantPool> constpool,
193 method->SetConstantPool(thread, constpool);
212 JSHandle<ConstantPool> constpool = AllocateConstPool(vm, jsPandaFile);
224 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), JSTaggedValue(string));
243 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), obj.GetTaggedValue());
252 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), arr.GetTaggedValue());
259 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), classLiteral.GetTaggedValue());
271 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), method.GetTaggedValue());
275 return std::make_pair(sconstpool, constpool);
281 JSHandle<ConstantPool> constpool)
315 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), obj.GetTaggedValue());
323 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), arr.GetTaggedValue());
330 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), classLiteral.GetTaggedValue());
342 constpool->SetObjectToCache(thread, value.GetConstpoolIndex(), method.GetTaggedValue());
356 sconstpool->SetSharedConstpoolId(JSTaggedValue(0)); // 0 :old version has one constpool.
364 JSHandle<ConstantPool> constpool = factory->NewConstantPool(constpoolIndex);
365 constpool->SetJSPandaFile(jsPandaFile);
366 constpool->SetUnsharedConstpoolIndex(JSTaggedValue(ConstantPool::CONSTPOOL_TYPE_FLAG));
367 return constpool;