| 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 2084 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2095 | 2095 |
| 2096 | 2096 |
| 2097 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 2097 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
| 2098 void Genesis::InitializeGlobal_##id() {} | 2098 void Genesis::InitializeGlobal_##id() {} |
| 2099 | 2099 |
| 2100 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) | 2100 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) |
| 2101 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) | 2101 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) |
| 2102 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 2102 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
| 2103 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) | 2103 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) |
| 2104 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 2104 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
| 2105 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) | |
| 2106 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) | 2105 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) |
| 2107 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) | 2106 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) |
| 2108 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) | 2107 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) |
| 2109 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 2108 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
| 2110 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) | 2109 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) |
| 2111 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2110 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
| 2112 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) | 2111 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) |
| 2113 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) | 2112 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) |
| 2114 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2113 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2115 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2114 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2626 "native harmony-array-includes.js", nullptr}; | 2625 "native harmony-array-includes.js", nullptr}; |
| 2627 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; | 2626 static const char* harmony_proxies_natives[] = {"native proxy.js", nullptr}; |
| 2628 static const char* harmony_modules_natives[] = {nullptr}; | 2627 static const char* harmony_modules_natives[] = {nullptr}; |
| 2629 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", | 2628 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js", |
| 2630 nullptr}; | 2629 nullptr}; |
| 2631 static const char* harmony_tostring_natives[] = {nullptr}; | 2630 static const char* harmony_tostring_natives[] = {nullptr}; |
| 2632 static const char* harmony_sloppy_natives[] = {nullptr}; | 2631 static const char* harmony_sloppy_natives[] = {nullptr}; |
| 2633 static const char* harmony_sloppy_function_natives[] = {nullptr}; | 2632 static const char* harmony_sloppy_function_natives[] = {nullptr}; |
| 2634 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2633 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
| 2635 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2634 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
| 2636 static const char* harmony_rest_parameters_natives[] = {nullptr}; | |
| 2637 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2635 static const char* harmony_default_parameters_natives[] = {nullptr}; |
| 2638 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2636 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
| 2639 nullptr}; | 2637 nullptr}; |
| 2640 static const char* harmony_destructuring_bind_natives[] = {nullptr}; | 2638 static const char* harmony_destructuring_bind_natives[] = {nullptr}; |
| 2641 static const char* harmony_destructuring_assignment_natives[] = {nullptr}; | 2639 static const char* harmony_destructuring_assignment_natives[] = {nullptr}; |
| 2642 static const char* harmony_object_observe_natives[] = { | 2640 static const char* harmony_object_observe_natives[] = { |
| 2643 "native harmony-object-observe.js", nullptr}; | 2641 "native harmony-object-observe.js", nullptr}; |
| 2644 static const char* harmony_sharedarraybuffer_natives[] = { | 2642 static const char* harmony_sharedarraybuffer_natives[] = { |
| 2645 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2643 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
| 2646 static const char* harmony_concat_spreadable_natives[] = {nullptr}; | 2644 static const char* harmony_concat_spreadable_natives[] = {nullptr}; |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3323 } | 3321 } |
| 3324 | 3322 |
| 3325 | 3323 |
| 3326 // Called when the top-level V8 mutex is destroyed. | 3324 // Called when the top-level V8 mutex is destroyed. |
| 3327 void Bootstrapper::FreeThreadResources() { | 3325 void Bootstrapper::FreeThreadResources() { |
| 3328 DCHECK(!IsActive()); | 3326 DCHECK(!IsActive()); |
| 3329 } | 3327 } |
| 3330 | 3328 |
| 3331 } // namespace internal | 3329 } // namespace internal |
| 3332 } // namespace v8 | 3330 } // namespace v8 |
| OLD | NEW |