Home | History | Annotate | Download | only in src

Lines Matching refs:constructor

553 // A constructor cannot easily return an error value, therefore it is necessary
556 // NeanderObject constructor. When you add one to the site calling the
557 // constructor you should check that you ensured the VM was not dead first.
917 v8::Handle<FunctionTemplate> constructor) {
927 if (!constructor.IsEmpty())
928 obj->set_constructor(*Utils::OpenHandle(*constructor));
934 // Ensure that the object template has a constructor. If no
935 // constructor is available we create one.
937 if (Utils::OpenHandle(object_template)->constructor()->IsUndefined()) {
939 i::Handle<i::FunctionTemplateInfo> constructor = Utils::OpenHandle(*templ);
940 constructor->set_instance_template(*Utils::OpenHandle(object_template));
941 Utils::OpenHandle(object_template)->set_constructor(*constructor);
956 i::FunctionTemplateInfo* constructor =
957 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
958 i::Handle<i::FunctionTemplateInfo> cons(constructor);
978 i::FunctionTemplateInfo* constructor =
979 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
980 i::Handle<i::FunctionTemplateInfo> cons(constructor);
995 i::FunctionTemplateInfo* constructor =
996 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
997 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1021 i::FunctionTemplateInfo* constructor =
1022 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1023 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1040 i::FunctionTemplateInfo* constructor =
1041 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1042 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1058 i::FunctionTemplateInfo* constructor =
1059 i::FunctionTemplateInfo::cast(Utils::OpenHandle(this)->constructor());
1060 i::Handle<i::FunctionTemplateInfo> cons(constructor);
1082 // The internal field count is set by the constructor function's
1083 // construct code, so we ensure that there is a constructor
2840 if (templ->constructor()->IsUndefined()) {
2841 Local<FunctionTemplate> constructor = FunctionTemplate::New();
2842 Utils::OpenHandle(*constructor)->set_instance_template(*templ);
2843 templ->set_constructor(*Utils::OpenHandle(*constructor));
2846 i::FunctionTemplateInfo::cast(templ->constructor()));
2875 // Make sure that the global_template has a constructor.