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/utils/random-number-generator.h" | 9 #include "src/base/utils/random-number-generator.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1847 | 1847 |
1848 #undef INITIALIZE_FLAG | 1848 #undef INITIALIZE_FLAG |
1849 } | 1849 } |
1850 | 1850 |
1851 | 1851 |
1852 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 1852 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
1853 void Genesis::InitializeGlobal_##id() {} | 1853 void Genesis::InitializeGlobal_##id() {} |
1854 | 1854 |
1855 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) | 1855 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) |
1856 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) | 1856 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) |
1857 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions) | |
1858 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) | 1857 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) |
1859 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 1858 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
1860 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) | 1859 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) |
1861 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 1860 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
1862 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) | 1861 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) |
1863 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) | 1862 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) |
1864 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_calls) | 1863 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_calls) |
1865 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) | 1864 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) |
1866 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 1865 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
1867 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays) | 1866 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays) |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2547 } | 2546 } |
2548 | 2547 |
2549 | 2548 |
2550 bool Genesis::InstallExperimentalNatives() { | 2549 bool Genesis::InstallExperimentalNatives() { |
2551 static const char* harmony_array_includes_natives[] = { | 2550 static const char* harmony_array_includes_natives[] = { |
2552 "native harmony-array-includes.js", nullptr}; | 2551 "native harmony-array-includes.js", nullptr}; |
2553 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; | 2552 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; |
2554 static const char* harmony_modules_natives[] = {nullptr}; | 2553 static const char* harmony_modules_natives[] = {nullptr}; |
2555 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", | 2554 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", |
2556 nullptr}; | 2555 nullptr}; |
2557 static const char* harmony_arrow_functions_natives[] = {nullptr}; | |
2558 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", | 2556 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", |
2559 nullptr}; | 2557 nullptr}; |
2560 static const char* harmony_sloppy_natives[] = {nullptr}; | 2558 static const char* harmony_sloppy_natives[] = {nullptr}; |
2561 static const char* harmony_sloppy_function_natives[] = {nullptr}; | 2559 static const char* harmony_sloppy_function_natives[] = {nullptr}; |
2562 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2560 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
2563 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2561 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
2564 static const char* harmony_rest_parameters_natives[] = {nullptr}; | 2562 static const char* harmony_rest_parameters_natives[] = {nullptr}; |
2565 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2563 static const char* harmony_default_parameters_natives[] = {nullptr}; |
2566 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2564 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
2567 nullptr}; | 2565 nullptr}; |
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3271 } | 3269 } |
3272 | 3270 |
3273 | 3271 |
3274 // Called when the top-level V8 mutex is destroyed. | 3272 // Called when the top-level V8 mutex is destroyed. |
3275 void Bootstrapper::FreeThreadResources() { | 3273 void Bootstrapper::FreeThreadResources() { |
3276 DCHECK(!IsActive()); | 3274 DCHECK(!IsActive()); |
3277 } | 3275 } |
3278 | 3276 |
3279 } // namespace internal | 3277 } // namespace internal |
3280 } // namespace v8 | 3278 } // namespace v8 |
OLD | NEW |