Lines Matching defs:cls
61 JSHClass *cls = *newObjCls;
62 EXPECT_TRUE(cls->GetObjectSize() ==
64 EXPECT_TRUE(cls->GetPrototype() == GetGlobal(thread)->GetObjectFunctionPrototype().GetTaggedValue());
65 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_OBJECT);
68 auto *prototype = cls->GetPrototype().GetTaggedObject();
98 JSHClass *cls = *newFunCls;
99 EXPECT_TRUE(cls->GetObjectSize() ==
101 EXPECT_TRUE(cls->GetPrototype() == GetGlobal(thread)->GetFunctionPrototype().GetTaggedValue());
102 EXPECT_TRUE(cls->GetObjectType() == JSType::JS_FUNCTION);
103 EXPECT_TRUE(cls->IsCallable());
104 EXPECT_TRUE(cls->IsExtensible());
105 EXPECT_TRUE(!cls->IsConstructor());