Lines Matching refs:PlainObject
27 /* static */ inline JS::Result<js::PlainObject*, JS::OOM>
28 js::PlainObject::createWithShape(JSContext* cx, JS::Handle<Shape*> shape) { in createWithShape()
29 MOZ_ASSERT(shape->getObjectClass() == &PlainObject::class_); in createWithShape()
30 gc::InitialHeap heap = GetInitialHeap(GenericObject, &PlainObject::class_); in createWithShape()
37 return &obj->as<PlainObject>(); in createWithShape()
41 /* static */ inline JS::Result<js::PlainObject*, JS::OOM>
42 js::PlainObject::createWithTemplate(JSContext* cx, in createWithTemplate()
43 JS::Handle<PlainObject*> templateObject) { in createWithTemplate()
48 inline js::gc::AllocKind js::PlainObject::allocKindForTenure() const { in allocKindForTenure()
59 static inline PlainObject* CopyTemplateObject(
60 JSContext* cx, JS::Handle<PlainObject*> baseobj,
70 JS::Rooted<PlainObject*> obj(cx, NewObjectWithGivenProtoAndKinds<PlainObject>(
95 PlainObject* obj = CreateThisForFunction(cx, callee, newTarget, newKind); in CreateThis()