| 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 3419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3430 | 3430 |
| 3431 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 3431 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
| 3432 void Genesis::InitializeGlobal_##id() {} | 3432 void Genesis::InitializeGlobal_##id() {} |
| 3433 | 3433 |
| 3434 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 3434 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 3435 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 3435 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| 3436 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) | 3436 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) |
| 3437 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 3437 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
| 3438 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 3438 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
| 3439 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 3439 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
| 3440 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) | |
| 3441 #ifdef V8_I18N_SUPPORT | 3440 #ifdef V8_I18N_SUPPORT |
| 3442 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) | 3441 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) |
| 3443 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) | 3442 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) |
| 3444 #endif | 3443 #endif |
| 3445 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) | 3444 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) |
| 3446 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) | 3445 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) |
| 3447 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) | 3446 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) |
| 3448 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields) | 3447 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields) |
| 3449 | 3448 |
| 3450 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, | 3449 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3988 static const char* harmony_sharedarraybuffer_natives[] = { | 3987 static const char* harmony_sharedarraybuffer_natives[] = { |
| 3989 "native harmony-atomics.js", NULL}; | 3988 "native harmony-atomics.js", NULL}; |
| 3990 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 3989 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
| 3991 nullptr}; | 3990 nullptr}; |
| 3992 static const char* harmony_do_expressions_natives[] = {nullptr}; | 3991 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 3993 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 3992 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
| 3994 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; | 3993 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; |
| 3995 static const char* harmony_regexp_property_natives[] = {nullptr}; | 3994 static const char* harmony_regexp_property_natives[] = {nullptr}; |
| 3996 static const char* harmony_function_sent_natives[] = {nullptr}; | 3995 static const char* harmony_function_sent_natives[] = {nullptr}; |
| 3997 static const char* harmony_array_prototype_values_natives[] = {nullptr}; | 3996 static const char* harmony_array_prototype_values_natives[] = {nullptr}; |
| 3998 static const char* harmony_string_padding_natives[] = { | |
| 3999 "native harmony-string-padding.js", nullptr}; | |
| 4000 #ifdef V8_I18N_SUPPORT | 3997 #ifdef V8_I18N_SUPPORT |
| 4001 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js", | 3998 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js", |
| 4002 nullptr}; | 3999 nullptr}; |
| 4003 static const char* datetime_format_to_parts_natives[] = { | 4000 static const char* datetime_format_to_parts_natives[] = { |
| 4004 "native datetime-format-to-parts.js", nullptr}; | 4001 "native datetime-format-to-parts.js", nullptr}; |
| 4005 #endif | 4002 #endif |
| 4006 static const char* harmony_async_await_natives[] = {nullptr}; | 4003 static const char* harmony_async_await_natives[] = {nullptr}; |
| 4007 static const char* harmony_restrictive_generators_natives[] = {nullptr}; | 4004 static const char* harmony_restrictive_generators_natives[] = {nullptr}; |
| 4008 static const char* harmony_trailing_commas_natives[] = {nullptr}; | 4005 static const char* harmony_trailing_commas_natives[] = {nullptr}; |
| 4009 static const char* harmony_class_fields_natives[] = {nullptr}; | 4006 static const char* harmony_class_fields_natives[] = {nullptr}; |
| (...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4740 } | 4737 } |
| 4741 | 4738 |
| 4742 | 4739 |
| 4743 // Called when the top-level V8 mutex is destroyed. | 4740 // Called when the top-level V8 mutex is destroyed. |
| 4744 void Bootstrapper::FreeThreadResources() { | 4741 void Bootstrapper::FreeThreadResources() { |
| 4745 DCHECK(!IsActive()); | 4742 DCHECK(!IsActive()); |
| 4746 } | 4743 } |
| 4747 | 4744 |
| 4748 } // namespace internal | 4745 } // namespace internal |
| 4749 } // namespace v8 | 4746 } // namespace v8 |
| OLD | NEW |