| 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 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_destructuring) | 2158 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) |
| 2159 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 2159 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
| 2160 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_new_target) | |
| 2161 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) | 2160 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_concat_spreadable) |
| 2162 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) | 2161 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) |
| 2163 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2162 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
| 2164 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tostring) | 2163 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tostring) |
| 2165 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) | 2164 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) |
| 2166 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) | 2165 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) |
| 2167 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2166 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2168 | 2167 |
| 2169 | 2168 |
| 2170 static void SimpleInstallFunction(Handle<JSObject>& base, const char* name, | 2169 static void SimpleInstallFunction(Handle<JSObject>& base, const char* name, |
| (...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2625 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2624 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
| 2626 static const char* harmony_rest_parameters_natives[] = {nullptr}; | 2625 static const char* harmony_rest_parameters_natives[] = {nullptr}; |
| 2627 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2626 static const char* harmony_default_parameters_natives[] = {nullptr}; |
| 2628 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2627 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
| 2629 nullptr}; | 2628 nullptr}; |
| 2630 static const char* harmony_destructuring_natives[] = {nullptr}; | 2629 static const char* harmony_destructuring_natives[] = {nullptr}; |
| 2631 static const char* harmony_object_observe_natives[] = { | 2630 static const char* harmony_object_observe_natives[] = { |
| 2632 "native harmony-object-observe.js", nullptr}; | 2631 "native harmony-object-observe.js", nullptr}; |
| 2633 static const char* harmony_sharedarraybuffer_natives[] = { | 2632 static const char* harmony_sharedarraybuffer_natives[] = { |
| 2634 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2633 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
| 2635 static const char* harmony_new_target_natives[] = {nullptr}; | |
| 2636 static const char* harmony_concat_spreadable_natives[] = { | 2634 static const char* harmony_concat_spreadable_natives[] = { |
| 2637 "native harmony-concat-spreadable.js", nullptr}; | 2635 "native harmony-concat-spreadable.js", nullptr}; |
| 2638 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 2636 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
| 2639 nullptr}; | 2637 nullptr}; |
| 2640 static const char* harmony_tolength_natives[] = {nullptr}; | 2638 static const char* harmony_tolength_natives[] = {nullptr}; |
| 2641 static const char* harmony_completion_natives[] = {nullptr}; | 2639 static const char* harmony_completion_natives[] = {nullptr}; |
| 2642 static const char* harmony_do_expressions_natives[] = {nullptr}; | 2640 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 2643 | 2641 |
| 2644 for (int i = ExperimentalNatives::GetDebuggerCount(); | 2642 for (int i = ExperimentalNatives::GetDebuggerCount(); |
| 2645 i < ExperimentalNatives::GetBuiltinsCount(); i++) { | 2643 i < ExperimentalNatives::GetBuiltinsCount(); i++) { |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3322 } | 3320 } |
| 3323 | 3321 |
| 3324 | 3322 |
| 3325 // Called when the top-level V8 mutex is destroyed. | 3323 // Called when the top-level V8 mutex is destroyed. |
| 3326 void Bootstrapper::FreeThreadResources() { | 3324 void Bootstrapper::FreeThreadResources() { |
| 3327 DCHECK(!IsActive()); | 3325 DCHECK(!IsActive()); |
| 3328 } | 3326 } |
| 3329 | 3327 |
| 3330 } // namespace internal | 3328 } // namespace internal |
| 3331 } // namespace v8 | 3329 } // namespace v8 |
| OLD | NEW |