| 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 2377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2388 | 2388 |
| 2389 INITIALIZE_FLAG(FLAG_harmony_species) | 2389 INITIALIZE_FLAG(FLAG_harmony_species) |
| 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_object_observe) | |
| 2399 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2398 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
| 2400 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2399 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
| 2401 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) | 2400 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) |
| 2402 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) | 2401 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) |
| 2403 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2402 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
| 2404 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) | 2403 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) |
| 2405 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) | 2404 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) |
| 2406 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) | 2405 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) |
| 2407 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) | 2406 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) |
| 2408 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) | 2407 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_explicit_tailcalls) |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2946 | 2945 |
| 2947 | 2946 |
| 2948 bool Genesis::InstallExperimentalNatives() { | 2947 bool Genesis::InstallExperimentalNatives() { |
| 2949 static const char* harmony_iterator_close_natives[] = {nullptr}; | 2948 static const char* harmony_iterator_close_natives[] = {nullptr}; |
| 2950 static const char* harmony_species_natives[] = {"native harmony-species.js", | 2949 static const char* harmony_species_natives[] = {"native harmony-species.js", |
| 2951 nullptr}; | 2950 nullptr}; |
| 2952 static const char* harmony_explicit_tailcalls_natives[] = {nullptr}; | 2951 static const char* harmony_explicit_tailcalls_natives[] = {nullptr}; |
| 2953 static const char* harmony_tailcalls_natives[] = {nullptr}; | 2952 static const char* harmony_tailcalls_natives[] = {nullptr}; |
| 2954 static const char* harmony_unicode_regexps_natives[] = { | 2953 static const char* harmony_unicode_regexps_natives[] = { |
| 2955 "native harmony-unicode-regexps.js", nullptr}; | 2954 "native harmony-unicode-regexps.js", nullptr}; |
| 2956 static const char* harmony_object_observe_natives[] = { | |
| 2957 "native harmony-object-observe.js", nullptr}; | |
| 2958 static const char* harmony_sharedarraybuffer_natives[] = { | 2955 static const char* harmony_sharedarraybuffer_natives[] = { |
| 2959 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2956 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
| 2960 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 2957 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
| 2961 nullptr}; | 2958 nullptr}; |
| 2962 static const char* harmony_do_expressions_natives[] = {nullptr}; | 2959 static const char* harmony_do_expressions_natives[] = {nullptr}; |
| 2963 static const char* harmony_regexp_exec_natives[] = { | 2960 static const char* harmony_regexp_exec_natives[] = { |
| 2964 "native harmony-regexp-exec.js", nullptr}; | 2961 "native harmony-regexp-exec.js", nullptr}; |
| 2965 static const char* harmony_regexp_subclass_natives[] = {nullptr}; | 2962 static const char* harmony_regexp_subclass_natives[] = {nullptr}; |
| 2966 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; | 2963 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; |
| 2967 static const char* harmony_instanceof_natives[] = {nullptr}; | 2964 static const char* harmony_instanceof_natives[] = {nullptr}; |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3644 } | 3641 } |
| 3645 | 3642 |
| 3646 | 3643 |
| 3647 // Called when the top-level V8 mutex is destroyed. | 3644 // Called when the top-level V8 mutex is destroyed. |
| 3648 void Bootstrapper::FreeThreadResources() { | 3645 void Bootstrapper::FreeThreadResources() { |
| 3649 DCHECK(!IsActive()); | 3646 DCHECK(!IsActive()); |
| 3650 } | 3647 } |
| 3651 | 3648 |
| 3652 } // namespace internal | 3649 } // namespace internal |
| 3653 } // namespace v8 | 3650 } // namespace v8 |
| OLD | NEW |