Lines Matching refs:ihc
919 bool RuntimeStubs::ShouldUseAOTHClass(const JSHandle<JSTaggedValue> &ihc,
923 // In the case of incomplete data collection in PGO, AOT may not create ihc and chc at the same time.
925 return (!ihc->IsUndefined() || !chc->IsUndefined()) && !classLiteral->GetIsAOTUsed();
948 JSMutableHandle<JSTaggedValue> ihc(thread, JSTaggedValue::Undefined());
956 ihc.Update(aotLiteralInfo->GetIhc());
973 if (ShouldUseAOTHClass(ihc, chc, classLiteral)) {
975 cls = ClassHelper::DefineClassWithIHClass(thread, base, extractor, lexenv, ihc, chc);
1157 JSHClass *ihc = JSHClass::Cast(protoOrHClass.GetTaggedObject());
1158 if (ihc->IsTS()) {
1159 JSHandle<JSHClass> ihcHandle(thread, ihc);
2258 const JSHandle<JSTaggedValue>& ihc,
2263 if (!ihc->IsUndefined() && kind == FunctionKind::BASE_CONSTRUCTOR) {
2267 func->SetProtoOrHClass(thread, ihc);
2282 if (ihc->IsJSHClass()) {
2283 JSHClass::EnableProtoChangeMarker(thread, JSHandle<JSHClass>(ihc));
2287 //avoid one thread uses ihc twice or more times
2298 JSMutableHandle<JSTaggedValue> ihc(thread, JSTaggedValue::Undefined());
2300 //AOT ihc infos always in unshareConstpool
2309 ihc.Update(aotLiteralInfo->GetIhc());
2332 DefineFuncTryUseAOTHClass(thread, result, ihc, aotLiteralInfo);