Lines Matching refs:constructor
63 MUST_USE_RESULT static MaybeObject* CreateJSValue(JSFunction* constructor,
67 constructor->GetHeap()->AllocateJSObject(constructor);
474 Object* cons_obj = map()->constructor();
942 Object* constructor = map_of_this->constructor();
944 if (constructor->IsHeapObject() &&
945 !heap->Contains(HeapObject::cast(constructor))) {
946 accumulator->Add("!!!INVALID CONSTRUCTOR!!!");
949 if (constructor->IsJSFunction()) {
950 if (!heap->Contains(JSFunction::cast(constructor)->shared())) {
951 accumulator->Add("!!!INVALID SHARED ON CONSTRUCTOR!!!");
954 JSFunction::cast(constructor)->shared()->name();
1239 if (map()->constructor()->IsJSFunction()) {
1240 JSFunction* constructor = JSFunction::cast(map()->constructor());
1241 return String::cast(constructor->shared()->instance_class_name());
1243 // If the constructor is not present, return "Object".
1249 if (map()->constructor()->IsJSFunction()) {
1250 JSFunction* constructor = JSFunction::cast(map()->constructor());
1251 String* name = String::cast(constructor->shared()->name());
1253 String* inferred_name = constructor->shared()->inferred_name();
1258 // If the constructor is not present, return "Object".
2454 // constructor, prototype and bit_field2.
2458 reinterpret_cast<uintptr_t>(fast->constructor())) >> 2);
2460 // XOR-ing the prototype and constructor directly yields too many zero bits
2462 // To avoid this we shift the prototype 4 bits relatively to the constructor.
2477 slow->constructor() == fast->constructor() &&
2940 // Is the object the constructor for this object?
2941 if (map_of_this->constructor() == obj) {
2995 // Get the constructor function for arguments array.
3000 JSFunction::cast(arguments_boilerplate->map()->constructor());
3015 if (ctxobj->map()->constructor() == arguments_function) {
3584 Map::cast(result)->set_constructor(constructor());
3599 ASSERT(constructor()->IsJSFunction());
3600 JSFunction* ctor = JSFunction::cast(constructor());
3637 Map::cast(result)->set_constructor(constructor());
5778 // constructor field so it can be accessed. Also, set the prototype
5903 // Check the basic conditions for generating inline constructor code.
5919 // the same names as are set by the inline constructor.
6124 // constructor is called. The countdown will continue and (possibly after
8026 JSFunction* constructor = JSFunction::cast(map()->constructor());
8027 ASSERT(constructor->shared()->IsApiFunction());
8029 constructor->shared()->get_api_func_data()->named_property_handler();
8036 JSFunction* constructor = JSFunction::cast(map()->constructor());
8037 ASSERT(constructor->shared()->IsApiFunction());
8039 constructor->shared()->get_api_func_data()->indexed_property_handler();