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/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/extensions/externalize-string-extension.h" | 10 #include "src/extensions/externalize-string-extension.h" |
(...skipping 2627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2638 | 2638 |
2639 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 2639 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
2640 void Genesis::InitializeGlobal_##id() {} | 2640 void Genesis::InitializeGlobal_##id() {} |
2641 | 2641 |
2642 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2642 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
2643 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2643 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
2644 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) | 2644 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) |
2645 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) | 2645 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) |
2646 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) | 2646 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) |
2647 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2647 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| 2648 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) |
2648 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 2649 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
2649 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) | 2650 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) |
2650 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 2651 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
2651 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) | 2652 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) |
2652 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(intl_extra) | 2653 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(intl_extra) |
2653 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) | 2654 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) |
2654 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 2655 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
2655 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_instanceof) | 2656 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_instanceof) |
2656 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) | 2657 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations) |
2657 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_exponentiation_operator) | 2658 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_exponentiation_operator) |
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3236 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 3237 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
3237 nullptr}; | 3238 nullptr}; |
3238 static const char* harmony_do_expressions_natives[] = {nullptr}; | 3239 static const char* harmony_do_expressions_natives[] = {nullptr}; |
3239 static const char* harmony_for_in_natives[] = {nullptr}; | 3240 static const char* harmony_for_in_natives[] = {nullptr}; |
3240 static const char* harmony_regexp_exec_natives[] = { | 3241 static const char* harmony_regexp_exec_natives[] = { |
3241 "native harmony-regexp-exec.js", nullptr}; | 3242 "native harmony-regexp-exec.js", nullptr}; |
3242 static const char* harmony_regexp_subclass_natives[] = {nullptr}; | 3243 static const char* harmony_regexp_subclass_natives[] = {nullptr}; |
3243 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 3244 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
3244 static const char* harmony_instanceof_natives[] = {nullptr}; | 3245 static const char* harmony_instanceof_natives[] = {nullptr}; |
3245 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; | 3246 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; |
| 3247 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; |
3246 static const char* harmony_regexp_property_natives[] = {nullptr}; | 3248 static const char* harmony_regexp_property_natives[] = {nullptr}; |
3247 static const char* harmony_function_name_natives[] = {nullptr}; | 3249 static const char* harmony_function_name_natives[] = {nullptr}; |
3248 static const char* harmony_function_sent_natives[] = {nullptr}; | 3250 static const char* harmony_function_sent_natives[] = {nullptr}; |
3249 static const char* promise_extra_natives[] = {"native promise-extra.js", | 3251 static const char* promise_extra_natives[] = {"native promise-extra.js", |
3250 nullptr}; | 3252 nullptr}; |
3251 static const char* intl_extra_natives[] = {"native intl-extra.js", nullptr}; | 3253 static const char* intl_extra_natives[] = {"native intl-extra.js", nullptr}; |
3252 static const char* harmony_object_values_entries_natives[] = {nullptr}; | 3254 static const char* harmony_object_values_entries_natives[] = {nullptr}; |
3253 static const char* harmony_object_own_property_descriptors_natives[] = { | 3255 static const char* harmony_object_own_property_descriptors_natives[] = { |
3254 nullptr}; | 3256 nullptr}; |
3255 static const char* harmony_array_prototype_values_natives[] = {nullptr}; | 3257 static const char* harmony_array_prototype_values_natives[] = {nullptr}; |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3934 } | 3936 } |
3935 | 3937 |
3936 | 3938 |
3937 // Called when the top-level V8 mutex is destroyed. | 3939 // Called when the top-level V8 mutex is destroyed. |
3938 void Bootstrapper::FreeThreadResources() { | 3940 void Bootstrapper::FreeThreadResources() { |
3939 DCHECK(!IsActive()); | 3941 DCHECK(!IsActive()); |
3940 } | 3942 } |
3941 | 3943 |
3942 } // namespace internal | 3944 } // namespace internal |
3943 } // namespace v8 | 3945 } // namespace v8 |
OLD | NEW |