Home | History | Annotate | Download | only in src

Lines Matching refs:constructor

56 static Object* CreateJSValue(JSFunction* constructor, Object* value) {
57 Object* result = Heap::AllocateJSObject(constructor);
430 Object* cons_obj = map()->constructor();
866 Object* constructor = map()->constructor();
868 if (constructor->IsHeapObject() &&
869 !Heap::Contains(HeapObject::cast(constructor))) {
870 accumulator->Add("!!!INVALID CONSTRUCTOR!!!");
873 if (constructor->IsJSFunction()) {
874 if (!Heap::Contains(JSFunction::cast(constructor)->shared())) {
875 accumulator->Add("!!!INVALID SHARED ON CONSTRUCTOR!!!");
878 JSFunction::cast(constructor)->shared()->name();
1181 if (map()->constructor()->IsJSFunction()) {
1182 JSFunction* constructor = JSFunction::cast(map()->constructor());
1183 return String::cast(constructor->shared()->instance_class_name());
1185 // If the constructor is not present, return "Object".
1195 if (map()->constructor()->IsJSFunction()) {
1196 JSFunction* constructor = JSFunction::cast(map()->constructor());
1197 String* name = String::cast(constructor->shared()->name());
1198 return name->length() > 0 ? name : constructor->shared()->inferred_name();
1200 // If the constructor is not present, return "Object".
2468 // Is the object the constructor for this object?
2469 if (map()->constructor() == obj) {
2524 // Get the constructor function for arguments array.
2528 JSFunction::cast(arguments_boilerplate->map()->constructor());
2543 if (ctxobj->map()->constructor() == arguments_function) {
2927 Map::cast(result)->set_constructor(constructor());
2941 ASSERT(constructor()->IsJSFunction());
2942 JSFunction* ctor = JSFunction::cast(constructor());
4675 // constructor field so it can be accessed. Also, set the prototype
4756 // Check the basic conditions for generating inline constructor code.
4770 // the same names as are set by the inline constructor.
6156 JSFunction* constructor = JSFunction::cast(map()->constructor());
6157 Object* template_info = constructor->shared()->function_data();
6166 JSFunction* constructor = JSFunction::cast(map()->constructor());
6167 Object* template_info = constructor->shared()->function_data();