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 2379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2390 | 2390 |
2391 #undef INITIALIZE_FLAG | 2391 #undef INITIALIZE_FLAG |
2392 } | 2392 } |
2393 | 2393 |
2394 | 2394 |
2395 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 2395 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
2396 void Genesis::InitializeGlobal_##id() {} | 2396 void Genesis::InitializeGlobal_##id() {} |
2397 | 2397 |
2398 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2398 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
2399 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2399 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2400 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_for_in) |
2400 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) | 2401 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) |
2401 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) | 2402 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) |
2402 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2403 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
2403 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 2404 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
2404 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) | 2405 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) |
2405 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 2406 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
2406 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) | 2407 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) |
2407 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) | 2408 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) |
2408 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) | 2409 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) |
2409 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_instanceof) | 2410 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_instanceof) |
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2950 nullptr}; | 2951 nullptr}; |
2951 static const char* harmony_explicit_tailcalls_natives[] = {nullptr}; | 2952 static const char* harmony_explicit_tailcalls_natives[] = {nullptr}; |
2952 static const char* harmony_tailcalls_natives[] = {nullptr}; | 2953 static const char* harmony_tailcalls_natives[] = {nullptr}; |
2953 static const char* harmony_unicode_regexps_natives[] = { | 2954 static const char* harmony_unicode_regexps_natives[] = { |
2954 "native harmony-unicode-regexps.js", nullptr}; | 2955 "native harmony-unicode-regexps.js", nullptr}; |
2955 static const char* harmony_sharedarraybuffer_natives[] = { | 2956 static const char* harmony_sharedarraybuffer_natives[] = { |
2956 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2957 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
2957 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 2958 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
2958 nullptr}; | 2959 nullptr}; |
2959 static const char* harmony_do_expressions_natives[] = {nullptr}; | 2960 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 2961 static const char* harmony_for_in_natives[] = {nullptr}; |
2960 static const char* harmony_regexp_exec_natives[] = { | 2962 static const char* harmony_regexp_exec_natives[] = { |
2961 "native harmony-regexp-exec.js", nullptr}; | 2963 "native harmony-regexp-exec.js", nullptr}; |
2962 static const char* harmony_regexp_subclass_natives[] = {nullptr}; | 2964 static const char* harmony_regexp_subclass_natives[] = {nullptr}; |
2963 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 2965 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
2964 static const char* harmony_instanceof_natives[] = {nullptr}; | 2966 static const char* harmony_instanceof_natives[] = {nullptr}; |
2965 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; | 2967 static const char* harmony_restrictive_declarations_natives[] = {nullptr}; |
2966 static const char* harmony_regexp_property_natives[] = {nullptr}; | 2968 static const char* harmony_regexp_property_natives[] = {nullptr}; |
2967 static const char* harmony_function_name_natives[] = {nullptr}; | 2969 static const char* harmony_function_name_natives[] = {nullptr}; |
2968 static const char* harmony_function_sent_natives[] = {nullptr}; | 2970 static const char* harmony_function_sent_natives[] = {nullptr}; |
2969 static const char* promise_extra_natives[] = {"native promise-extra.js", | 2971 static const char* promise_extra_natives[] = {"native promise-extra.js", |
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3641 } | 3643 } |
3642 | 3644 |
3643 | 3645 |
3644 // Called when the top-level V8 mutex is destroyed. | 3646 // Called when the top-level V8 mutex is destroyed. |
3645 void Bootstrapper::FreeThreadResources() { | 3647 void Bootstrapper::FreeThreadResources() { |
3646 DCHECK(!IsActive()); | 3648 DCHECK(!IsActive()); |
3647 } | 3649 } |
3648 | 3650 |
3649 } // namespace internal | 3651 } // namespace internal |
3650 } // namespace v8 | 3652 } // namespace v8 |
OLD | NEW |