| 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 2826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2837 | 2837 |
| 2838 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 2838 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
| 2839 void Genesis::InitializeGlobal_##id() {} | 2839 void Genesis::InitializeGlobal_##id() {} |
| 2840 | 2840 |
| 2841 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2841 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2842 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) | 2842 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) |
| 2843 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2843 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| 2844 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) | 2844 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) |
| 2845 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 2845 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
| 2846 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 2846 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
| 2847 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) | |
| 2848 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 2847 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
| 2849 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) | 2848 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) |
| 2850 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) | 2849 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) |
| 2851 #ifdef V8_I18N_SUPPORT | 2850 #ifdef V8_I18N_SUPPORT |
| 2852 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) | 2851 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) |
| 2853 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) | 2852 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) |
| 2854 #endif | 2853 #endif |
| 2855 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) | 2854 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) |
| 2856 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) | 2855 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) |
| 2857 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) | 2856 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) |
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3420 Map::EnsureDescriptorSlack(map, 1); | 3419 Map::EnsureDescriptorSlack(map, 1); |
| 3421 map->AppendDescriptor(&d); | 3420 map->AppendDescriptor(&d); |
| 3422 } | 3421 } |
| 3423 } | 3422 } |
| 3424 | 3423 |
| 3425 return true; | 3424 return true; |
| 3426 } | 3425 } |
| 3427 | 3426 |
| 3428 | 3427 |
| 3429 bool Genesis::InstallExperimentalNatives() { | 3428 bool Genesis::InstallExperimentalNatives() { |
| 3430 static const char* harmony_explicit_tailcalls_natives[] = {nullptr}; | |
| 3431 static const char* harmony_tailcalls_natives[] = {nullptr}; | 3429 static const char* harmony_tailcalls_natives[] = {nullptr}; |
| 3432 static const char* harmony_sharedarraybuffer_natives[] = { | 3430 static const char* harmony_sharedarraybuffer_natives[] = { |
| 3433 "native harmony-atomics.js", NULL}; | 3431 "native harmony-atomics.js", NULL}; |
| 3434 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 3432 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
| 3435 nullptr}; | 3433 nullptr}; |
| 3436 static const char* harmony_do_expressions_natives[] = {nullptr}; | 3434 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 3437 static const char* harmony_for_in_natives[] = {nullptr}; | 3435 static const char* harmony_for_in_natives[] = {nullptr}; |
| 3438 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 3436 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
| 3439 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; | 3437 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; |
| 3440 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; | 3438 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; |
| (...skipping 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4184 } | 4182 } |
| 4185 | 4183 |
| 4186 | 4184 |
| 4187 // Called when the top-level V8 mutex is destroyed. | 4185 // Called when the top-level V8 mutex is destroyed. |
| 4188 void Bootstrapper::FreeThreadResources() { | 4186 void Bootstrapper::FreeThreadResources() { |
| 4189 DCHECK(!IsActive()); | 4187 DCHECK(!IsActive()); |
| 4190 } | 4188 } |
| 4191 | 4189 |
| 4192 } // namespace internal | 4190 } // namespace internal |
| 4193 } // namespace v8 | 4191 } // namespace v8 |
| OLD | NEW |