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 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2024 void Genesis::InitializeGlobal_##id() {} | 2024 void Genesis::InitializeGlobal_##id() {} |
2025 | 2025 |
2026 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) | 2026 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) |
2027 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) | 2027 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) |
2028 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 2028 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
2029 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) | 2029 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) |
2030 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 2030 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
2031 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) | 2031 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) |
2032 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) | 2032 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) |
2033 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) | 2033 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) |
| 2034 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment) |
2034 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 2035 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
2035 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) | 2036 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) |
2036 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2037 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
2037 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) | 2038 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) |
2038 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) | 2039 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) |
2039 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2040 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
2040 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) | 2041 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) |
2041 | 2042 |
2042 | 2043 |
2043 static void SimpleInstallFunction(Handle<JSObject> base, Handle<Name> name, | 2044 static void SimpleInstallFunction(Handle<JSObject> base, Handle<Name> name, |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2552 static const char* harmony_tostring_natives[] = {nullptr}; | 2553 static const char* harmony_tostring_natives[] = {nullptr}; |
2553 static const char* harmony_sloppy_natives[] = {nullptr}; | 2554 static const char* harmony_sloppy_natives[] = {nullptr}; |
2554 static const char* harmony_sloppy_function_natives[] = {nullptr}; | 2555 static const char* harmony_sloppy_function_natives[] = {nullptr}; |
2555 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2556 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
2556 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2557 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
2557 static const char* harmony_rest_parameters_natives[] = {nullptr}; | 2558 static const char* harmony_rest_parameters_natives[] = {nullptr}; |
2558 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2559 static const char* harmony_default_parameters_natives[] = {nullptr}; |
2559 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2560 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
2560 nullptr}; | 2561 nullptr}; |
2561 static const char* harmony_destructuring_bind_natives[] = {nullptr}; | 2562 static const char* harmony_destructuring_bind_natives[] = {nullptr}; |
| 2563 static const char* harmony_destructuring_assignment_natives[] = {nullptr}; |
2562 static const char* harmony_object_observe_natives[] = { | 2564 static const char* harmony_object_observe_natives[] = { |
2563 "native harmony-object-observe.js", nullptr}; | 2565 "native harmony-object-observe.js", nullptr}; |
2564 static const char* harmony_sharedarraybuffer_natives[] = { | 2566 static const char* harmony_sharedarraybuffer_natives[] = { |
2565 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2567 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
2566 static const char* harmony_concat_spreadable_natives[] = {nullptr}; | 2568 static const char* harmony_concat_spreadable_natives[] = {nullptr}; |
2567 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 2569 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
2568 nullptr}; | 2570 nullptr}; |
2569 static const char* harmony_tolength_natives[] = {nullptr}; | 2571 static const char* harmony_tolength_natives[] = {nullptr}; |
2570 static const char* harmony_completion_natives[] = {nullptr}; | 2572 static const char* harmony_completion_natives[] = {nullptr}; |
2571 static const char* harmony_do_expressions_natives[] = {nullptr}; | 2573 static const char* harmony_do_expressions_natives[] = {nullptr}; |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3252 } | 3254 } |
3253 | 3255 |
3254 | 3256 |
3255 // Called when the top-level V8 mutex is destroyed. | 3257 // Called when the top-level V8 mutex is destroyed. |
3256 void Bootstrapper::FreeThreadResources() { | 3258 void Bootstrapper::FreeThreadResources() { |
3257 DCHECK(!IsActive()); | 3259 DCHECK(!IsActive()); |
3258 } | 3260 } |
3259 | 3261 |
3260 } // namespace internal | 3262 } // namespace internal |
3261 } // namespace v8 | 3263 } // namespace v8 |
OLD | NEW |