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 1826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1837 void Genesis::InstallNativeFunctions_##id() {} | 1837 void Genesis::InstallNativeFunctions_##id() {} |
1838 | 1838 |
1839 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_modules) | 1839 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_modules) |
1840 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_array_includes) | 1840 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_array_includes) |
1841 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_regexps) | 1841 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_regexps) |
1842 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrow_functions) | 1842 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_arrow_functions) |
1843 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_tostring) | 1843 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_tostring) |
1844 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy) | 1844 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy) |
1845 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy_let) | 1845 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sloppy_let) |
1846 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_unicode_regexps) | 1846 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_unicode_regexps) |
1847 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_computed_property_names) | |
1848 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_rest_parameters) | 1847 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_rest_parameters) |
1849 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_reflect) | 1848 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_reflect) |
1850 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spreadcalls) | 1849 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spreadcalls) |
1851 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_destructuring) | 1850 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_destructuring) |
1852 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object) | 1851 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object) |
1853 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object_observe) | 1852 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_object_observe) |
1854 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spread_arrays) | 1853 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_spread_arrays) |
1855 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sharedarraybuffer) | 1854 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_sharedarraybuffer) |
1856 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_atomics) | 1855 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_atomics) |
1857 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_new_target) | 1856 EMPTY_NATIVE_FUNCTIONS_FOR_FEATURE(harmony_new_target) |
(...skipping 15 matching lines...) Expand all Loading... |
1873 | 1872 |
1874 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 1873 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
1875 void Genesis::InitializeGlobal_##id() {} | 1874 void Genesis::InitializeGlobal_##id() {} |
1876 | 1875 |
1877 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) | 1876 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) |
1878 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) | 1877 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) |
1879 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions) | 1878 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_arrow_functions) |
1880 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) | 1879 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) |
1881 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 1880 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
1882 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 1881 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
1883 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_computed_property_names) | |
1884 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) | 1882 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) |
1885 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spreadcalls) | 1883 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spreadcalls) |
1886 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) | 1884 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) |
1887 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object) | 1885 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object) |
1888 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 1886 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
1889 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays) | 1887 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays) |
1890 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_atomics) | 1888 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_atomics) |
1891 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target) | 1889 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target) |
1892 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) | 1890 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) |
1893 | 1891 |
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2557 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; | 2555 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; |
2558 static const char* harmony_modules_natives[] = {nullptr}; | 2556 static const char* harmony_modules_natives[] = {nullptr}; |
2559 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", | 2557 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", |
2560 nullptr}; | 2558 nullptr}; |
2561 static const char* harmony_arrow_functions_natives[] = {nullptr}; | 2559 static const char* harmony_arrow_functions_natives[] = {nullptr}; |
2562 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", | 2560 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", |
2563 nullptr}; | 2561 nullptr}; |
2564 static const char* harmony_sloppy_natives[] = {nullptr}; | 2562 static const char* harmony_sloppy_natives[] = {nullptr}; |
2565 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2563 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
2566 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2564 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
2567 static const char* harmony_computed_property_names_natives[] = {nullptr}; | |
2568 static const char* harmony_rest_parameters_natives[] = {nullptr}; | 2565 static const char* harmony_rest_parameters_natives[] = {nullptr}; |
2569 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2566 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
2570 nullptr}; | 2567 nullptr}; |
2571 static const char* harmony_spreadcalls_natives[] = { | 2568 static const char* harmony_spreadcalls_natives[] = { |
2572 "native harmony-spread.js", nullptr}; | 2569 "native harmony-spread.js", nullptr}; |
2573 static const char* harmony_destructuring_natives[] = {nullptr}; | 2570 static const char* harmony_destructuring_natives[] = {nullptr}; |
2574 static const char* harmony_object_natives[] = {"native harmony-object.js", | 2571 static const char* harmony_object_natives[] = {"native harmony-object.js", |
2575 NULL}; | 2572 NULL}; |
2576 static const char* harmony_object_observe_natives[] = { | 2573 static const char* harmony_object_observe_natives[] = { |
2577 "native harmony-object-observe.js", nullptr}; | 2574 "native harmony-object-observe.js", nullptr}; |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3256 } | 3253 } |
3257 | 3254 |
3258 | 3255 |
3259 // Called when the top-level V8 mutex is destroyed. | 3256 // Called when the top-level V8 mutex is destroyed. |
3260 void Bootstrapper::FreeThreadResources() { | 3257 void Bootstrapper::FreeThreadResources() { |
3261 DCHECK(!IsActive()); | 3258 DCHECK(!IsActive()); |
3262 } | 3259 } |
3263 | 3260 |
3264 } // namespace internal | 3261 } // namespace internal |
3265 } // namespace v8 | 3262 } // namespace v8 |
OLD | NEW |