Lines Matching full:jsobject
237 bool ConfigureApiObject(Handle<JSObject> object,
244 void TransferObject(Handle<JSObject> from, Handle<JSObject> to);
245 void TransferNamedProperties(Handle<JSObject> from, Handle<JSObject> to);
246 void TransferIndexedProperties(Handle<JSObject> from, Handle<JSObject> to);
316 static void SetObjectPrototype(Handle<JSObject> object, Handle<Object> proto) {
329 SetObjectPrototype(Handle<JSObject>(env->global_proxy()),
342 SetObjectPrototype(global, Handle<JSObject>(env->global()));
347 static Handle<JSFunction> InstallFunction(Handle<JSObject> target,
351 Handle<JSObject> prototype,
374 JSObject::SetLocalPropertyIgnoreAttributes(
474 factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize);
481 Handle<JSObject> prototype = factory->NewJSObject(
588 JSObject::PreventExtensions(throw_type_error_function);
738 Handle<JSObject> prototype =
739 Handle<JSObject>(
740 JSObject::cast(js_global_function->instance_prototype()));
742 JSObject::SetLocalPropertyIgnoreAttributes(
851 JSObject::SetLocalPropertyIgnoreAttributes(
855 Handle<JSObject> global = Handle<JSObject>(global_context()->global());
1012 Handle<JSObject> proto = factory->NewJSObjectFromMap(proto_map);
1039 Handle<JSObject> json_object = factory->NewJSObject(cons, TENURED);
1042 JSObject::SetLocalPropertyIgnoreAttributes(
1054 Handle<JSObject> prototype =
1055 Handle<JSObject>(
1056 JSObject::cast(global_context()->object_function()->prototype()));
1061 JSObject::kHeaderSize,
1068 Handle<JSObject> result = factory->NewJSObject(function);
1074 JSObject::SetLocalPropertyIgnoreAttributes(
1078 JSObject::SetLocalPropertyIgnoreAttributes(
1114 Handle<JSObject> result = factory->NewJSObjectFromMap(new_map);
1171 Handle<JSObject> result = factory->NewJSObjectFromMap(map);
1176 JSObject::SetLocalPropertyIgnoreAttributes(
1201 JSObject::kHeaderSize,
1218 JSObject::kHeaderSize, code, true);
1230 JSObject::kHeaderSize, code, true);
1253 Handle<JSObject> global = Handle<JSObject>(global_context()->global());
1259 Handle<JSObject> prototype =
1265 Handle<JSObject> prototype =
1271 Handle<JSObject> prototype =
1400 INSTALL_NATIVE(JSObject, "functionCache", function_cache);
1449 JSObject::SetLocalPropertyIgnoreAttributes(
1474 Handle<JSObject> prototype =
1603 Handle<JSObject> prototype =
1623 Handle<JSObject> prototype =
1678 ASSERT(JSObject::cast(
1687 Handle<JSObject> proto =
1688 Handle<JSObject>(JSObject::cast(function->instance_prototype()));
1692 InstallFunction(proto, "call", JS_OBJECT_TYPE, JSObject::kHeaderSize,
1693 Handle<JSObject>::null(),
1697 InstallFunction(proto, "apply", JS_OBJECT_TYPE, JSObject::kHeaderSize,
1698 Handle<JSObject>::null(),
1725 Handle<JSObject> array_prototype(
1726 JSObject::cast(array_constructor->instance_prototype()));
1806 static Handle<JSObject> ResolveBuiltinIdHolder(
1813 return Handle<JSObject>::cast(
1821 return Handle<JSObject>(JSObject::cast(function->prototype()));
1825 static void InstallBuiltinFunctionId(Handle<JSObject> holder,
1840 Handle<JSObject> holder = ResolveBuiltinIdHolder( \
1921 JSObject::SetLocalPropertyIgnoreAttributes(
1923 Handle<JSObject>(global->builtins()),
1932 JSObject::SetLocalPropertyIgnoreAttributes(
1933 Handle<JSObject>::cast(Error), name,
1954 JSObject::SetLocalPropertyIgnoreAttributes(
2112 Handle<JSObject> global_proxy(
2113 JSObject::cast(global_context()->global_proxy()));
2114 Handle<JSObject> inner_global(JSObject::cast(global_context()->global()));
2137 bool Genesis::ConfigureApiObject(Handle<JSObject> object,
2144 Handle<JSObject> obj =
2156 void Genesis::TransferNamedProperties(Handle<JSObject> from,
2157 Handle<JSObject> to) {
2170 JSObject::SetLocalPropertyIgnoreAttributes(
2180 JSObject::SetLocalPropertyIgnoreAttributes(
2196 JSObject::SetNormalizedProperty(to, key, callbacks, d);
2234 JSObject::SetLocalPropertyIgnoreAttributes(
2242 void Genesis::TransferIndexedProperties(Handle<JSObject> from,
2243 Handle<JSObject> to) {
2252 void Genesis::TransferObject(Handle<JSObject> from, Handle<JSObject> to) {