Lines Matching refs:constructor
409 Handle<JSFunction> constructor(
411 Handle<Object> object = isolate->factory()->NewJSObject(constructor);
595 JSFunction* constructor =
599 { MaybeObject* maybe_object = isolate->heap()->AllocateJSObject(constructor);
1020 // Copy map so it won't interfere constructor's initial map.
1039 // Copy map so it won't interfere constructor's initial map.
1690 Object* constructor = map->constructor();
1691 if (constructor->IsJSFunction() &&
1692 JSFunction::cast(constructor)->initial_map() == map) {
1807 Handle<JSFunction> constructor =
1813 RegExpImpl::CreateRegExpLiteral(constructor, pattern, flags,
7115 // First argument is a function to use as a constructor.
7169 Handle<Object> constructor = args.at<Object>(0);
7171 // If the constructor isn't a proper function we throw a type error.
7172 if (!constructor->IsJSFunction()) {
7173 Vector< Handle<Object> > arguments = HandleVector(&constructor, 1);
7179 Handle<JSFunction> function = Handle<JSFunction>::cast(constructor);
7184 Vector< Handle<Object> > arguments = HandleVector(&constructor, 1);
7226 // function is called as a constructor for the first time.
7273 // constructor call doesn't use a CallIC, it uses a LoadIC followed by a
7703 Object* constructor = holder->map()->constructor();
7704 if (constructor != context_extension_function) return holder;
7970 // constructor calls
8361 * The second parameter of the constructor, fast_elements, specifies
9392 // 6: Constructor call
9443 // Check for constructor frame.
9444 bool constructor = it.frame()->IsConstructor();
9570 // Add the constructor information.
9571 details->set(kFrameDetailsConstructCallIndex, heap->ToBoolean(constructor));
10791 obj->map()->constructor() == arguments_function) {
10842 // args[1]: constructor function for instances to exclude (Mirror)
10858 // Get the constructor function for context extension and arguments array.
10862 JSFunction::cast(arguments_boilerplate->map()->constructor());
10892 static int DebugConstructedBy(JSFunction* constructor, int max_references,
10905 if (obj->map()->constructor() == constructor) {
10922 // args[0]: the constructor to find instances of
10931 CONVERT_CHECKED(JSFunction, constructor, args[0]);
10937 count = DebugConstructedBy(constructor, max_references, NULL, 0);
10947 count = DebugConstructedBy(constructor, max_references, instances, count);
11593 // a stack trace. The caller is the error constructor that asked