Lines Matching defs:constpoolIndex
504 int32_t constpoolIndex = shareCp->GetUnsharedConstpoolIndex();
506 ASSERT(0 <= constpoolIndex && constpoolIndex != ConstantPool::CONSTPOOL_TYPE_FLAG &&
507 constpoolIndex < UNSHARED_CONSTANTPOOL_COUNT);
508 return unsharedConstpools_[constpoolIndex];
516 int32_t constpoolIndex = shareCp->GetUnsharedConstpoolIndex();
518 ASSERT(0 <= constpoolIndex && constpoolIndex != ConstantPool::CONSTPOOL_TYPE_FLAG &&
519 constpoolIndex < UNSHARED_CONSTANTPOOL_COUNT);
520 ASSERT(constpoolIndex != INT32_MAX);
524 SetUnsharedConstpool(constpoolIndex, unsharedConstpool);
529 void EcmaContext::EraseUnusedConstpool(const JSPandaFile *jsPandaFile, int32_t index, int32_t constpoolIndex)
532 ASSERT(constpoolIndex != ConstantPool::CONSTPOOL_TYPE_FLAG);
534 SetUnsharedConstpool(constpoolIndex, JSTaggedValue::Hole());
617 int32_t constpoolIndex = sharedConstpool->GetUnsharedConstpoolIndex();
618 SetUnsharedConstpool(constpoolIndex, unsharedConstpool);
621 void EcmaContext::SetUnsharedConstpool(int32_t constpoolIndex, JSTaggedValue unsharedConstpool)
623 CheckUnsharedConstpoolArrayLimit(constpoolIndex);
624 ASSERT(0 <= constpoolIndex && constpoolIndex < UNSHARED_CONSTANTPOOL_COUNT);
625 unsharedConstpools_[constpoolIndex] = unsharedConstpool;