Home | History | Annotate | Download | only in src

Lines Matching refs:constructor

664 // A constructor cannot easily return an error value, therefore it is necessary
667 // NeanderObject constructor. When you add one to the site calling the
668 // constructor you should check that you ensured the VM was not dead first.
1070 v8::Handle<FunctionTemplate> constructor) {
1083 if (!constructor.IsEmpty())
1084 obj->set_constructor(*Utils::OpenHandle(*constructor));
1090 // Ensure that the object template has a constructor. If no
1091 // constructor is available we create one.
1093 if (Utils::OpenHandle(object_template)->constructor()->IsUndefined()) {
1095 i::Handle<i::FunctionTemplateInfo> constructor = Utils::OpenHandle(*templ);
1096 constructor->set_instance_template(*Utils::OpenHandle(object_template));
1097 Utils::OpenHandle(object_template)->set_constructor(*constructor);
1113 i::FunctionTemplateInfo* constructor =
1114 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1115 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1138 i::FunctionTemplateInfo* constructor =
1139 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1140 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1156 i::FunctionTemplateInfo* constructor =
1157 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1158 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1187 i::FunctionTemplateInfo* constructor =
1188 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1189 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1209 i::FunctionTemplateInfo* constructor =
1210 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1211 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1231 i::FunctionTemplateInfo* constructor =
1232 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1233 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1259 // The internal field count is set by the constructor function's
1260 // construct code, so we ensure that there is a constructor
2886 i::Object* constructor = object->map()->constructor();
2888 if (!constructor->IsJSFunction()) {
2889 // API functions have null as a constructor,
2895 function = i::JSFunction::cast(constructor);
3652 if (templ->constructor()->IsUndefined()) {
3653 Local<FunctionTemplate> constructor = FunctionTemplate::New();
3654 Utils::OpenHandle(*constructor)->set_instance_template(*templ);
3655 templ->set_constructor(*Utils::OpenHandle(*constructor));
3658 i::FunctionTemplateInfo::cast(templ->constructor()));
3680 // Make sure that the global_template has a constructor.