| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/bootstrapper.h" | 5 #include "src/bootstrapper.h" |
| 6 | 6 |
| 7 #include "src/accessors.h" | 7 #include "src/accessors.h" |
| 8 #include "src/api-natives.h" | 8 #include "src/api-natives.h" |
| 9 #include "src/base/ieee754.h" | 9 #include "src/base/ieee754.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 3627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3638 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 3638 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
| 3639 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 3639 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
| 3640 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 3640 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
| 3641 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) | 3641 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) |
| 3642 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) | 3642 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) |
| 3643 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_tostring) | 3643 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_tostring) |
| 3644 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields) | 3644 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields) |
| 3645 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_rest_spread) | 3645 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_rest_spread) |
| 3646 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_dynamic_import) | 3646 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_dynamic_import) |
| 3647 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_template_escapes) | 3647 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_template_escapes) |
| 3648 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_timezone_data) |
| 3648 | 3649 |
| 3649 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, | 3650 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, |
| 3650 const char* name, Handle<Symbol> value) { | 3651 const char* name, Handle<Symbol> value) { |
| 3651 Handle<JSGlobalObject> global( | 3652 Handle<JSGlobalObject> global( |
| 3652 JSGlobalObject::cast(native_context->global_object())); | 3653 JSGlobalObject::cast(native_context->global_object())); |
| 3653 Handle<String> symbol_string = factory->InternalizeUtf8String("Symbol"); | 3654 Handle<String> symbol_string = factory->InternalizeUtf8String("Symbol"); |
| 3654 Handle<JSObject> symbol = Handle<JSObject>::cast( | 3655 Handle<JSObject> symbol = Handle<JSObject>::cast( |
| 3655 JSObject::GetProperty(global, symbol_string).ToHandleChecked()); | 3656 JSObject::GetProperty(global, symbol_string).ToHandleChecked()); |
| 3656 Handle<String> name_string = factory->InternalizeUtf8String(name); | 3657 Handle<String> name_string = factory->InternalizeUtf8String(name); |
| 3657 PropertyAttributes attributes = | 3658 PropertyAttributes attributes = |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4328 "native harmony-atomics.js", NULL}; | 4329 "native harmony-atomics.js", NULL}; |
| 4329 static const char* harmony_do_expressions_natives[] = {nullptr}; | 4330 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 4330 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 4331 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
| 4331 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; | 4332 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; |
| 4332 static const char* harmony_regexp_property_natives[] = {nullptr}; | 4333 static const char* harmony_regexp_property_natives[] = {nullptr}; |
| 4333 static const char* harmony_function_sent_natives[] = {nullptr}; | 4334 static const char* harmony_function_sent_natives[] = {nullptr}; |
| 4334 static const char* harmony_array_prototype_values_natives[] = {nullptr}; | 4335 static const char* harmony_array_prototype_values_natives[] = {nullptr}; |
| 4335 #ifdef V8_I18N_SUPPORT | 4336 #ifdef V8_I18N_SUPPORT |
| 4336 static const char* icu_case_mapping_natives[] = {nullptr}; | 4337 static const char* icu_case_mapping_natives[] = {nullptr}; |
| 4337 static const char* datetime_format_to_parts_natives[] = {nullptr}; | 4338 static const char* datetime_format_to_parts_natives[] = {nullptr}; |
| 4339 static const char* icu_timezone_data_natives[] = {nullptr}; |
| 4338 #endif | 4340 #endif |
| 4339 static const char* harmony_restrictive_generators_natives[] = {nullptr}; | 4341 static const char* harmony_restrictive_generators_natives[] = {nullptr}; |
| 4340 static const char* harmony_trailing_commas_natives[] = {nullptr}; | 4342 static const char* harmony_trailing_commas_natives[] = {nullptr}; |
| 4341 static const char* harmony_function_tostring_natives[] = {nullptr}; | 4343 static const char* harmony_function_tostring_natives[] = {nullptr}; |
| 4342 static const char* harmony_class_fields_natives[] = {nullptr}; | 4344 static const char* harmony_class_fields_natives[] = {nullptr}; |
| 4343 static const char* harmony_object_rest_spread_natives[] = {nullptr}; | 4345 static const char* harmony_object_rest_spread_natives[] = {nullptr}; |
| 4344 static const char* harmony_async_iteration_natives[] = {nullptr}; | 4346 static const char* harmony_async_iteration_natives[] = {nullptr}; |
| 4345 static const char* harmony_dynamic_import_natives[] = {nullptr}; | 4347 static const char* harmony_dynamic_import_natives[] = {nullptr}; |
| 4346 static const char* harmony_promise_finally_natives[] = {nullptr}; | 4348 static const char* harmony_promise_finally_natives[] = {nullptr}; |
| 4347 static const char* harmony_template_escapes_natives[] = {nullptr}; | 4349 static const char* harmony_template_escapes_natives[] = {nullptr}; |
| (...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5103 } | 5105 } |
| 5104 | 5106 |
| 5105 | 5107 |
| 5106 // Called when the top-level V8 mutex is destroyed. | 5108 // Called when the top-level V8 mutex is destroyed. |
| 5107 void Bootstrapper::FreeThreadResources() { | 5109 void Bootstrapper::FreeThreadResources() { |
| 5108 DCHECK(!IsActive()); | 5110 DCHECK(!IsActive()); |
| 5109 } | 5111 } |
| 5110 | 5112 |
| 5111 } // namespace internal | 5113 } // namespace internal |
| 5112 } // namespace v8 | 5114 } // namespace v8 |
| OLD | NEW |