Home | History | Annotate | Download | only in src

Lines Matching refs:global_context

199   Handle<Context> global_context() { return global_context_; }
233 static bool InstallExtensions(Handle<Context> global_context,
237 static void InstallSpecialObjects(Handle<Context> global_context);
411 global_context()->set_function_instance_map(*fm);
420 global_context()->set_function_map(*fm);
434 global_context()->set_object_function(*object_fun);
440 global_context()->set_initial_object_prototype(*prototype);
463 global_context()->function_map()->set_prototype(*empty_function);
464 global_context()->function_instance_map()->set_prototype(*empty_function);
469 empty_fm->set_prototype(global_context()->object_function()->prototype());
483 Top::set_context(*global_context());
488 global_context()->set_message_listeners(*listeners.value());
594 inner_global->set_global_context(*global_context());
596 global_proxy->set_context(*global_context());
597 global_context()->set_global_proxy(*global_proxy);
627 global_context()->set_closure(*empty_function);
628 global_context()->set_fcontext(*global_context());
629 global_context()->set_previous(NULL);
631 global_context()->set_extension(*inner_global);
632 global_context()->set_global(*inner_global);
637 global_context()->set_security_token(*inner_global);
642 Handle<JSObject> global = Handle<JSObject>(global_context()->global());
668 global_context()->set_js_array_map(array_function->initial_map());
669 global_context()->js_array_map()->set_instance_descriptors(
675 global_context()->set_array_function(*array_function);
683 global_context()->set_number_function(*number_fun);
691 global_context()->set_boolean_function(*boolean_fun);
699 global_context()->set_string_function(*string_fun);
711 Handle<Map>(global_context()->string_function()->initial_map());
722 global_context()->set_date_function(*date_fun);
733 global_context()->set_regexp_function(*regexp_fun);
741 cons->SetInstancePrototype(global_context()->initial_object_prototype());
746 global_context()->set_json_object(*json_object);
757 JSObject::cast(global_context()->object_function()->prototype()));
771 global_context()->set_arguments_boilerplate(*result);
812 global_context()->set_context_extension_function(*context_extension_fun);
823 global_context()->set_call_as_function_delegate(*delegate);
834 global_context()->set_call_as_constructor_delegate(*delegate);
838 global_context()->set_special_function_table(Heap::empty_fixed_array());
841 global_context()->set_out_of_memory(Heap::false_value());
844 global_context()->set_data(Heap::undefined_value());
929 global_context()->set_##var(Type::cast(global_context()-> \
960 // (itself) and a reference to the global_context directly in the object.
973 builtins->set_global_context(*global_context());
983 Handle<Object>(global_context()->global()), attributes);
986 JSGlobalObject::cast(global_context()->global())->set_builtins(*builtins);
991 ASSERT(bridge->context() == *Top::global_context());
998 global_context()->set_runtime_context(*context);
1009 global_context()->set_script_function(*script_fun);
1181 bool Bootstrapper::InstallExtensions(Handle<Context> global_context,
1185 Top::set_context(*global_context);
1186 if (!Genesis::InstallExtensions(global_context, extensions)) return false;
1187 Genesis::InstallSpecialObjects(global_context);
1192 void Genesis::InstallSpecialObjects(Handle<Context> global_context) {
1195 JSGlobalObject::cast(global_context->global()));
1223 global_context->security_token());
1234 bool Genesis::InstallExtensions(Handle<Context> global_context,
1338 JSObject::cast(global_context()->global_proxy()));
1339 Handle<JSObject> inner_global(JSObject::cast(global_context()->global()));
1495 Top::context()->global_context()->set_function_map(*fm);
1511 int len = global_context()->special_function_table()->length();
1515 global_context()->special_function_table()->get(index));
1520 global_context()->set_special_function_table(*new_array);
1527 Handle<JSObject> global = Handle<JSObject>(global_context()->global());