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