Lines Matching refs:hclass
291 JSTaggedValue JSObject::GetPropertyInlinedPropsWithRep(const JSHClass *hclass, uint32_t index,
294 auto value = GetPropertyInlinedProps(hclass, index);
309 void JSObject::SetPropertyInlinedProps(const JSThread *thread, const JSHClass *hclass, uint32_t index,
312 uint32_t offset = hclass->GetInlinedPropertiesOffset(index);
313 ASSERT(hclass->GetObjectSize() > offset);
321 JSTaggedValue JSObject::GetPropertyInlinedProps(const JSHClass *hclass, uint32_t index) const
323 uint32_t offset = hclass->GetInlinedPropertiesOffset(index);
327 JSTaggedValue JSObject::GetProperty(const JSHClass *hclass, PropertyAttributes attr) const
330 return GetPropertyInlinedPropsWithRep(hclass, attr.GetOffset(), attr);
333 return array->Get(attr.GetOffset() - hclass->GetInlinedProperties());
337 void JSObject::SetProperty(const JSThread *thread, const JSHClass *hclass, PropertyAttributes attr, JSTaggedValue value)
340 SetPropertyInlinedProps<needBarrier>(thread, hclass, attr.GetOffset(), value);
343 array->Set<needBarrier>(thread, attr.GetOffset() - hclass->GetInlinedProperties(), value);
520 JSHClass *hclass = obj.GetTaggedObject()->GetClass();
521 return hclass->GetPrototype();