| 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 2137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2148 void Genesis::InitializeGlobal_##id() {} | 2148 void Genesis::InitializeGlobal_##id() {} |
| 2149 | 2149 |
| 2150 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) | 2150 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) |
| 2151 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) | 2151 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) |
| 2152 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) | 2152 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_proxies) |
| 2153 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 2153 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
| 2154 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) | 2154 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) |
| 2155 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 2155 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
| 2156 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) | 2156 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) |
| 2157 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) | 2157 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) |
| 2158 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_calls) | |
| 2159 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) | 2158 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) |
| 2160 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 2159 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
| 2161 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_spread_arrays) | |
| 2162 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target) | 2160 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target) |
| 2163 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) | 2161 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) |
| 2164 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) | 2162 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) |
| 2165 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2163 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
| 2166 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tostring) | 2164 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tostring) |
| 2167 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) | 2165 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) |
| 2168 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) | 2166 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) |
| 2169 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2167 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2170 | 2168 |
| 2171 | 2169 |
| (...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2622 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", | 2620 static const char* harmony_tostring_natives[] = {"native harmony-tostring.js", |
| 2623 nullptr}; | 2621 nullptr}; |
| 2624 static const char* harmony_sloppy_natives[] = {nullptr}; | 2622 static const char* harmony_sloppy_natives[] = {nullptr}; |
| 2625 static const char* harmony_sloppy_function_natives[] = {nullptr}; | 2623 static const char* harmony_sloppy_function_natives[] = {nullptr}; |
| 2626 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2624 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
| 2627 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2625 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
| 2628 static const char* harmony_rest_parameters_natives[] = {nullptr}; | 2626 static const char* harmony_rest_parameters_natives[] = {nullptr}; |
| 2629 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2627 static const char* harmony_default_parameters_natives[] = {nullptr}; |
| 2630 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2628 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
| 2631 nullptr}; | 2629 nullptr}; |
| 2632 static const char* harmony_spread_calls_natives[] = { | |
| 2633 "native harmony-spread.js", nullptr}; | |
| 2634 static const char* harmony_destructuring_natives[] = {nullptr}; | 2630 static const char* harmony_destructuring_natives[] = {nullptr}; |
| 2635 static const char* harmony_object_observe_natives[] = { | 2631 static const char* harmony_object_observe_natives[] = { |
| 2636 "native harmony-object-observe.js", nullptr}; | 2632 "native harmony-object-observe.js", nullptr}; |
| 2637 static const char* harmony_spread_arrays_natives[] = {nullptr}; | |
| 2638 static const char* harmony_sharedarraybuffer_natives[] = { | 2633 static const char* harmony_sharedarraybuffer_natives[] = { |
| 2639 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2634 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
| 2640 static const char* harmony_new_target_natives[] = {nullptr}; | 2635 static const char* harmony_new_target_natives[] = {nullptr}; |
| 2641 static const char* harmony_concat_spreadable_natives[] = { | 2636 static const char* harmony_concat_spreadable_natives[] = { |
| 2642 "native harmony-concat-spreadable.js", nullptr}; | 2637 "native harmony-concat-spreadable.js", nullptr}; |
| 2643 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 2638 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
| 2644 nullptr}; | 2639 nullptr}; |
| 2645 static const char* harmony_tolength_natives[] = {nullptr}; | 2640 static const char* harmony_tolength_natives[] = {nullptr}; |
| 2646 static const char* harmony_completion_natives[] = {nullptr}; | 2641 static const char* harmony_completion_natives[] = {nullptr}; |
| 2647 static const char* harmony_do_expressions_natives[] = {nullptr}; | 2642 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| (...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3327 } | 3322 } |
| 3328 | 3323 |
| 3329 | 3324 |
| 3330 // Called when the top-level V8 mutex is destroyed. | 3325 // Called when the top-level V8 mutex is destroyed. |
| 3331 void Bootstrapper::FreeThreadResources() { | 3326 void Bootstrapper::FreeThreadResources() { |
| 3332 DCHECK(!IsActive()); | 3327 DCHECK(!IsActive()); |
| 3333 } | 3328 } |
| 3334 | 3329 |
| 3335 } // namespace internal | 3330 } // namespace internal |
| 3336 } // namespace v8 | 3331 } // namespace v8 |
| OLD | NEW |