Lines Matching defs:constructor
1244 i::Isolate* isolate, v8::Local<FunctionTemplate> constructor,
1539 Isolate* isolate, v8::Local<FunctionTemplate> constructor) {
1540 return New(reinterpret_cast<i::Isolate*>(isolate), constructor);
1549 i::Isolate* isolate, v8::Local<FunctionTemplate> constructor,
1563 if (!constructor.IsEmpty())
1564 obj->set_constructor(*Utils::OpenHandle(*constructor));
1570 i::Isolate* isolate, v8::Local<FunctionTemplate> constructor) {
1571 return ObjectTemplateNew(isolate, constructor, false);
1589 // Ensure that the object template has a constructor. If no
1590 // constructor is available we create one.
1594 i::Object* obj = Utils::OpenHandle(object_template)->constructor();
1601 i::Handle<i::FunctionTemplateInfo> constructor = Utils::OpenHandle(*templ);
1602 constructor->set_instance_template(*Utils::OpenHandle(object_template));
1603 Utils::OpenHandle(object_template)->set_constructor(*constructor);
1604 return constructor;
1888 // The internal field count is set by the constructor function's
1889 // construct code, so we ensure that there is a constructor
3262 // We could have aborted during the constructor.
6277 // Make sure that the global_template has a constructor.
6306 constructor has
6554 i::Handle<i::FunctionTemplateInfo> constructor =
6556 Utils::ApiCheck(constructor->needs_access_check(),
6560 i::AccessCheckInfo::cast(constructor->access_check_info()), isolate);
8923 i::Handle<i::JSFunction> constructor = isolate->name##_function(); \
8924 error = *isolate->factory()->NewError(constructor, message); \