Home | History | Annotate | Download | only in src

Lines Matching refs:native_context

153   Handle<Context> native_context() { return native_context_; }
246 static bool InstallExtensions(Handle<Context> native_context,
259 static bool InstallSpecialObjects(Handle<Context> native_context);
561 native_context()->set_sloppy_function_without_prototype_map(
569 native_context()->set_sloppy_function_map(*function_map);
570 native_context()->set_sloppy_function_with_readonly_prototype_map(
594 native_context()->set_object_function(*object_fun);
604 native_context()->set_initial_object_prototype(*object_function_prototype);
608 native_context()->set_initial_array_prototype(*object_function_prototype);
637 Handle<Map> sloppy_function_map(native_context()->sloppy_function_map(),
640 native_context()->sloppy_function_without_prototype_map(), isolate);
761 native_context()->set_strict_function_without_prototype_map(
769 native_context()->set_strict_function_map(*strict_function_map);
787 native_context
829 native_context()->set_sloppy_generator_function_map(
837 native_context()->set_strict_generator_function_map(
840 Handle<JSFunction> object_function(native_context()->object_function());
843 native_context()->set_generator_object_prototype_map(
859 native_context()->strict_function_without_prototype_map());
864 native_context()->set_sloppy_async_function_map(*sloppy_async_function_map);
870 native_context()->set_strict_async_function_map(*strict_async_function_map);
880 native_context()->set_proxy_function_map(*proxy_function_map);
885 native_context()->set_proxy_map(*proxy_map);
889 native_context()->set_proxy_callable_map(*proxy_callable_map);
890 proxy_callable_map->SetConstructor(native_context()->function_function());
895 native_context()->set_proxy_constructor_map(*proxy_constructor_map);
948 AddToWeakNativeContextList(*native_context());
949 isolate()->set_context(*native_context());
954 native_context()->set_message_listeners(*listeners.value());
961 native_context()->script_context_table());
963 Handle<JSFunction> closure(native_context()->closure());
969 context->set(slot, native_context()->global_proxy());
973 native_context()->set_script_context_table(*new_script_contexts);
1070 global_object->set_native_context(*native_context());
1072 global_proxy->set_native_context(*native_context());
1075 DCHECK(native_context()
1078 native_context()->global_proxy() == *global_proxy);
1079 native_context()->set_global_proxy(*global_proxy);
1085 JSGlobalObject::cast(native_context()->extension()));
1086 native_context()->set_extension(*global_object);
1087 native_context()->set_security_token(*global_object);
1099 isolate->native_context()->set(context_index, *function);
1110 native_context()->set_closure(*empty_function);
1111 native_context()->set_previous(NULL);
1113 native_context()->set_extension(*global_object);
1117 native_context()->set_security_token(*global_object);
1124 native_context()->set_script_context_table(*script_context_table);
1153 native_context()->set_object_define_properties(*object_define_properties);
1158 native_context()->set_object_define_property(*object_define_property);
1162 native_context()->set_object_freeze(*object_freeze);
1167 native_context()->set_object_get_prototype_of(*object_get_prototype_of);
1172 native_context()->set_object_is_extensible(*object_is_extensible);
1176 native_context()->set_object_is_frozen(*object_is_frozen);
1180 native_context()->set_object_is_sealed(*object_is_sealed);
1184 native_context()->set_object_keys(*object_keys);
1202 Handle<JSObject> global(native_context()->global_object());
1291 CacheInitialJSArrayMaps(native_context(), initial_map);
1299 native_context()->set_is_arraylike(*is_arraylike);
1355 Handle<Map>(native_context()->string_function()->initial_map());
1412 native_context()->set_symbol_function(*symbol_fun);
1644 native_context()->set_embedder_data(*embedder_data);
1650 Handle<Object>(native_context()->initial_object_prototype(), isolate));
1668 Handle<Object>(native_context()->initial_object_prototype(), isolate));
1684 native_context()->set_math_exp(*math_exp);
1687 native_context()->set_math_floor(*math_floor);
1692 native_context()->set_math_log(*math_log);
1702 native_context()->set_math_sqrt(*math_sqrt);
1739 native_context()->set_typed_array_prototype(*prototype);
1749 native_context()->set_typed_array_function(*typed_array_fun);
1849 map->SetConstructor(native_context()->object_function());
1851 native_context()->set_iterator_result_map(*map);
1881 proxy_function, Handle<Map>(native_context()->proxy_map(), isolate),
1889 native_context()->set_proxy_function(*proxy_function);
1902 native_context()->set_reflect_define_property(*define_property);
1907 native_context()->set_reflect_delete_property(*delete_property);
1911 native_context()->set_reflect_apply(*apply);
1916 native_context()->set_reflect_construct(*construct);
1963 native_context()->set_bound_function_without_constructor_map(*map);
1967 native_context()->set_bound_function_with_constructor_map(*map);
2000 native_context()->set_sloppy_arguments_map(*map);
2015 native_context()->set_fast_aliased_arguments_map(*map);
2020 native_context()->set_slow_aliased_arguments_map(*map);
2063 DCHECK_EQ(native_context()->object_function()->prototype(),
2070 native_context()->sloppy_arguments_map()->GetConstructor());
2072 native_context()->set_strict_arguments_map(*map);
2088 native_context()->set_context_extension_function(*context_extension_fun);
2097 native_context()->set_call_as_function_delegate(*delegate);
2106 native_context()->set_call_as_constructor_delegate(*delegate);
2113 Handle<JSObject> global = Handle<JSObject>(native_context()->global_object());
2311 static Handle<JSObject> ResolveBuiltinIdHolder(Handle<Context> native_context,
2313 Isolate* isolate = native_context->GetIsolate();
2315 Handle<JSGlobalObject> global(native_context->global_object());
2366 native_context()->set_natives_utils_object(heap()->undefined_value());
2374 Handle<Context> native_context = isolate->native_context();
2394 native_context->set_object_to_string(*to_string);
2400 PrototypeIterator iter(native_context->generator_object_prototype_map());
2410 PrototypeIterator iter(native_context->sloppy_generator_function_map());
2423 native_context->sloppy_generator_function_map());
2439 native_context->sloppy_generator_function_map()->SetConstructor(
2441 native_context->strict_generator_function_map()->SetConstructor(
2452 native_context->set_set_iterator_map(set_iterator_function->initial_map());
2462 native_context->set_map_iterator_map(map_iterator_function->initial_map());
2473 native_context->set_script_function(*script_fun);
2620 PrototypeIterator iter(native_context->sloppy_async_function_map());
2629 native_context->sloppy_async_function_map());
2698 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context,
2701 JSGlobalObject::cast(native_context->global_object()));
2715 Handle<JSGlobalObject> global(native_context()->global_object());
2721 native_context()->set_shared_array_buffer_fun(*shared_array_buffer_fun);
2727 Handle<Object>(native_context()->initial_object_prototype(), isolate));
2743 JSGlobalObject::cast(native_context()->global_object()));
2751 Handle<Object>(native_context()->initial_object_prototype(), isolate));
2763 native_context()->set_##type##_function(*type##_function); \
2774 JSGlobalObject::cast(native_context()->global_object()));
2789 JSGlobalObject::cast(native_context()->global_object()));
2801 Handle<JSFunction> array_constructor(native_context()->array_function());
2899 native_context()->set_natives_utils_object(*utils);
2905 native_context()->set_extras_utils_object(*extras_utils);
2926 native_context()->set_opaque_reference_function(*opaque_reference_fun);
2940 native_context()->set_internal_array_function(*array_function);
2953 native_context()->set_template_instantiations_cache(
2958 Handle<JSFunction> object_function(native_context()->object_function());
2961 native_context()->set_object_function_prototype_map(
2969 native_context()->set_object_with_null_prototype_map(
2974 native_context()->string_function());
2977 native_context()->set_string_function_prototype_map(
2981 handle(native_context()->global_object());
3012 native_context()->set_global_eval_fun(*eval);
3017 Handle<JSFunction> array_constructor(native_context()->array_function());
3035 native_context()->internal_array_function());
3100 map->SetConstructor(native_context()->object_function());
3104 native_context()->set_accessor_property_descriptor_map(*map);
3143 map->SetConstructor(native_context()->object_function());
3147 native_context()->set_data_property_descriptor_map(*map);
3156 Handle<JSFunction> array_constructor(native_context()->array_function());
3173 JSFunction* array_function = native_context()->array_function();
3202 native_context()->set_regexp_result_map(*initial_map);
3213 Handle<Map> map(native_context()->sloppy_arguments_map());
3220 Handle<Map> map(native_context()->fast_aliased_arguments_map());
3227 Handle<Map> map(native_context()->slow_aliased_arguments_map());
3234 Handle<Map> map(native_context()->strict_arguments_map());
3310 native_context()->set_extras_binding_object(*extras_binding);
3369 ResolveBuiltinIdHolder(native_context(), builtin.holder_expr);
3388 ResolveBuiltinIdHolder(native_context(), builtin.holder_expr);
3400 native_context()->set_normalized_map_cache(*cache);
3404 bool Bootstrapper::InstallExtensions(Handle<Context> native_context,
3408 isolate_->set_context(*native_context);
3409 return Genesis::InstallExtensions(native_context, extensions) &&
3410 Genesis::InstallSpecialObjects(native_context);
3414 bool Genesis::InstallSpecialObjects(Handle<Context> native_context) {
3415 Isolate* isolate = native_context->GetIsolate();
3422 native_context->global_object()));
3440 debug_context->set_security_token(native_context->security_token());
3481 bool Genesis::InstallExtensions(Handle<Context> native_context,
3483 Isolate* isolate = native_context->GetIsolate();
3590 JSObject::cast(native_context()->global_proxy()));
3592 JSObject::cast(native_context()->global_object()));
3612 native_context()->set_initial_array_prototype(
3613 JSArray::cast(native_context()->array_function()->prototype()));
3614 native_context()->set_array_buffer_map(
3615 native_context()->array_buffer_fun()->initial_map());
3616 native_context()->set_js_map_map(
3617 native_context()->js_map_fun()->initial_map());
3618 native_context()->set_js_set_map(
3619 native_context()->js_set_fun()->initial_map());
3776 native_context()->set_sloppy_function_map(
3778 native_context()->set_strict_function_map(
3845 if (!native_context().is_null()) {
3846 AddToWeakNativeContextList(*native_context());
3847 isolate->set_context(*native_context());
3888 isolate->native_context()->set_errors_thrown(Smi::FromInt(0));
3916 DCHECK_EQ(1, native_context()->script_context_table()->used());
3919 result_ = native_context();