| 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 3022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3033 | 3033 |
| 3034 #undef INITIALIZE_FLAG | 3034 #undef INITIALIZE_FLAG |
| 3035 #endif | 3035 #endif |
| 3036 } | 3036 } |
| 3037 | 3037 |
| 3038 | 3038 |
| 3039 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 3039 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
| 3040 void Genesis::InitializeGlobal_##id() {} | 3040 void Genesis::InitializeGlobal_##id() {} |
| 3041 | 3041 |
| 3042 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 3042 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 3043 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) | |
| 3044 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 3043 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| 3045 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) | 3044 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) |
| 3046 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 3045 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
| 3047 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 3046 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
| 3048 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 3047 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
| 3049 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) | 3048 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) |
| 3050 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) | 3049 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) |
| 3051 #ifdef V8_I18N_SUPPORT | 3050 #ifdef V8_I18N_SUPPORT |
| 3052 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) | 3051 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) |
| 3053 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) | 3052 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) |
| (...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3626 } | 3625 } |
| 3627 | 3626 |
| 3628 | 3627 |
| 3629 bool Genesis::InstallExperimentalNatives() { | 3628 bool Genesis::InstallExperimentalNatives() { |
| 3630 static const char* harmony_tailcalls_natives[] = {nullptr}; | 3629 static const char* harmony_tailcalls_natives[] = {nullptr}; |
| 3631 static const char* harmony_sharedarraybuffer_natives[] = { | 3630 static const char* harmony_sharedarraybuffer_natives[] = { |
| 3632 "native harmony-atomics.js", NULL}; | 3631 "native harmony-atomics.js", NULL}; |
| 3633 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 3632 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
| 3634 nullptr}; | 3633 nullptr}; |
| 3635 static const char* harmony_do_expressions_natives[] = {nullptr}; | 3634 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 3636 static const char* harmony_for_in_natives[] = {nullptr}; | |
| 3637 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 3635 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
| 3638 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; | 3636 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; |
| 3639 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; | 3637 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; |
| 3640 static const char* harmony_regexp_property_natives[] = {nullptr}; | 3638 static const char* harmony_regexp_property_natives[] = {nullptr}; |
| 3641 static const char* harmony_function_sent_natives[] = {nullptr}; | 3639 static const char* harmony_function_sent_natives[] = {nullptr}; |
| 3642 static const char* harmony_object_values_entries_natives[] = {nullptr}; | 3640 static const char* harmony_object_values_entries_natives[] = {nullptr}; |
| 3643 static const char* harmony_object_own_property_descriptors_natives[] = { | 3641 static const char* harmony_object_own_property_descriptors_natives[] = { |
| 3644 nullptr}; | 3642 nullptr}; |
| 3645 static const char* harmony_array_prototype_values_natives[] = {nullptr}; | 3643 static const char* harmony_array_prototype_values_natives[] = {nullptr}; |
| 3646 static const char* harmony_string_padding_natives[] = { | 3644 static const char* harmony_string_padding_natives[] = { |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4382 } | 4380 } |
| 4383 | 4381 |
| 4384 | 4382 |
| 4385 // Called when the top-level V8 mutex is destroyed. | 4383 // Called when the top-level V8 mutex is destroyed. |
| 4386 void Bootstrapper::FreeThreadResources() { | 4384 void Bootstrapper::FreeThreadResources() { |
| 4387 DCHECK(!IsActive()); | 4385 DCHECK(!IsActive()); |
| 4388 } | 4386 } |
| 4389 | 4387 |
| 4390 } // namespace internal | 4388 } // namespace internal |
| 4391 } // namespace v8 | 4389 } // namespace v8 |
| OLD | NEW |