| 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/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/extensions/externalize-string-extension.h" | 10 #include "src/extensions/externalize-string-extension.h" |
| (...skipping 2311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2322 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 2322 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
| 2323 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) | 2323 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) |
| 2324 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 2324 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
| 2325 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) | 2325 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) |
| 2326 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) | 2326 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) |
| 2327 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) | 2327 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) |
| 2328 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 2328 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
| 2329 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) | 2329 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) |
| 2330 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2330 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
| 2331 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2331 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2332 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) |
| 2332 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2333 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| 2333 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 2334 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
| 2334 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) | 2335 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) |
| 2335 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 2336 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
| 2336 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) | 2337 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) |
| 2337 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 2338 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
| 2338 | 2339 |
| 2339 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, | 2340 void InstallPublicSymbol(Factory* factory, Handle<Context> native_context, |
| 2340 const char* name, Handle<Symbol> value) { | 2341 const char* name, Handle<Symbol> value) { |
| 2341 Handle<JSGlobalObject> global( | 2342 Handle<JSGlobalObject> global( |
| (...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2947 return true; | 2948 return true; |
| 2948 } | 2949 } |
| 2949 | 2950 |
| 2950 | 2951 |
| 2951 bool Genesis::InstallExperimentalNatives() { | 2952 bool Genesis::InstallExperimentalNatives() { |
| 2952 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; | 2953 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; |
| 2953 static const char* harmony_modules_natives[] = {nullptr}; | 2954 static const char* harmony_modules_natives[] = {nullptr}; |
| 2954 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", | 2955 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", |
| 2955 nullptr}; | 2956 nullptr}; |
| 2956 static const char* harmony_tostring_natives[] = {nullptr}; | 2957 static const char* harmony_tostring_natives[] = {nullptr}; |
| 2958 static const char* harmony_iterator_close_natives[] = {nullptr}; |
| 2957 static const char* harmony_sloppy_natives[] = {nullptr}; | 2959 static const char* harmony_sloppy_natives[] = {nullptr}; |
| 2958 static const char* harmony_sloppy_function_natives[] = {nullptr}; | 2960 static const char* harmony_sloppy_function_natives[] = {nullptr}; |
| 2959 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2961 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
| 2960 static const char* harmony_species_natives[] = {"native harmony-species.js", | 2962 static const char* harmony_species_natives[] = {"native harmony-species.js", |
| 2961 nullptr}; | 2963 nullptr}; |
| 2962 static const char* harmony_tailcalls_natives[] = {nullptr}; | 2964 static const char* harmony_tailcalls_natives[] = {nullptr}; |
| 2963 static const char* harmony_unicode_regexps_natives[] = { | 2965 static const char* harmony_unicode_regexps_natives[] = { |
| 2964 "native harmony-unicode-regexps.js", nullptr}; | 2966 "native harmony-unicode-regexps.js", nullptr}; |
| 2965 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2967 static const char* harmony_default_parameters_natives[] = {nullptr}; |
| 2966 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2968 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3651 } | 3653 } |
| 3652 | 3654 |
| 3653 | 3655 |
| 3654 // Called when the top-level V8 mutex is destroyed. | 3656 // Called when the top-level V8 mutex is destroyed. |
| 3655 void Bootstrapper::FreeThreadResources() { | 3657 void Bootstrapper::FreeThreadResources() { |
| 3656 DCHECK(!IsActive()); | 3658 DCHECK(!IsActive()); |
| 3657 } | 3659 } |
| 3658 | 3660 |
| 3659 } // namespace internal | 3661 } // namespace internal |
| 3660 } // namespace v8 | 3662 } // namespace v8 |
| OLD | NEW |