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 2711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2722 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) | 2722 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) |
2723 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2723 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
2724 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) | 2724 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) |
2725 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 2725 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
2726 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 2726 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
2727 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) | 2727 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) |
2728 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(intl_extra) | 2728 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(intl_extra) |
2729 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) | 2729 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) |
2730 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 2730 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
2731 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) | 2731 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) |
2732 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_exponentiation_operator) | |
2733 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) | 2732 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) |
2734 #ifdef V8_I18N_SUPPORT | 2733 #ifdef V8_I18N_SUPPORT |
2735 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) | 2734 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) |
2736 #endif | 2735 #endif |
2737 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) | 2736 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) |
2738 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) | 2737 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) |
2739 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) | 2738 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) |
2740 | 2739 |
2741 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, | 2740 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, |
2742 const char* name, Handle<Symbol> value) { | 2741 const char* name, Handle<Symbol> value) { |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3311 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; | 3310 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; |
3312 static const char* harmony_regexp_property_natives[] = {nullptr}; | 3311 static const char* harmony_regexp_property_natives[] = {nullptr}; |
3313 static const char* harmony_function_sent_natives[] = {nullptr}; | 3312 static const char* harmony_function_sent_natives[] = {nullptr}; |
3314 static const char* promise_extra_natives[] = {"native promise-extra.js", | 3313 static const char* promise_extra_natives[] = {"native promise-extra.js", |
3315 nullptr}; | 3314 nullptr}; |
3316 static const char* intl_extra_natives[] = {"native intl-extra.js", nullptr}; | 3315 static const char* intl_extra_natives[] = {"native intl-extra.js", nullptr}; |
3317 static const char* harmony_object_values_entries_natives[] = {nullptr}; | 3316 static const char* harmony_object_values_entries_natives[] = {nullptr}; |
3318 static const char* harmony_object_own_property_descriptors_natives[] = { | 3317 static const char* harmony_object_own_property_descriptors_natives[] = { |
3319 nullptr}; | 3318 nullptr}; |
3320 static const char* harmony_array_prototype_values_natives[] = {nullptr}; | 3319 static const char* harmony_array_prototype_values_natives[] = {nullptr}; |
3321 static const char* harmony_exponentiation_operator_natives[] = {nullptr}; | |
3322 static const char* harmony_string_padding_natives[] = { | 3320 static const char* harmony_string_padding_natives[] = { |
3323 "native harmony-string-padding.js", nullptr}; | 3321 "native harmony-string-padding.js", nullptr}; |
3324 #ifdef V8_I18N_SUPPORT | 3322 #ifdef V8_I18N_SUPPORT |
3325 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js", | 3323 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js", |
3326 nullptr}; | 3324 nullptr}; |
3327 #endif | 3325 #endif |
3328 static const char* harmony_async_await_natives[] = { | 3326 static const char* harmony_async_await_natives[] = { |
3329 "native harmony-async-await.js", nullptr}; | 3327 "native harmony-async-await.js", nullptr}; |
3330 static const char* harmony_restrictive_generators_natives[] = {nullptr}; | 3328 static const char* harmony_restrictive_generators_natives[] = {nullptr}; |
3331 static const char* harmony_trailing_commas_natives[] = {nullptr}; | 3329 static const char* harmony_trailing_commas_natives[] = {nullptr}; |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4061 } | 4059 } |
4062 | 4060 |
4063 | 4061 |
4064 // Called when the top-level V8 mutex is destroyed. | 4062 // Called when the top-level V8 mutex is destroyed. |
4065 void Bootstrapper::FreeThreadResources() { | 4063 void Bootstrapper::FreeThreadResources() { |
4066 DCHECK(!IsActive()); | 4064 DCHECK(!IsActive()); |
4067 } | 4065 } |
4068 | 4066 |
4069 } // namespace internal | 4067 } // namespace internal |
4070 } // namespace v8 | 4068 } // namespace v8 |
OLD | NEW |