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 2024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2035 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ | 2035 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ |
2036 void Genesis::InitializeGlobal_##id() {} | 2036 void Genesis::InitializeGlobal_##id() {} |
2037 | 2037 |
2038 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) | 2038 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) |
2039 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) | 2039 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_array_includes) |
2040 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) | 2040 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) |
2041 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) | 2041 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) |
2042 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) | 2042 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) |
2043 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) | 2043 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_rest_parameters) |
2044 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) | 2044 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters) |
2045 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring) | 2045 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind) |
2046 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) | 2046 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) |
2047 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) | 2047 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) |
2048 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) | 2048 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) |
2049 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) | 2049 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_completion) |
2050 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) | 2050 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tolength) |
2051 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) | 2051 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) |
2052 | 2052 |
2053 | 2053 |
2054 static void SimpleInstallFunction(Handle<JSObject>& base, const char* name, | 2054 static void SimpleInstallFunction(Handle<JSObject>& base, const char* name, |
2055 Builtins::Name call, int len, bool adapt) { | 2055 Builtins::Name call, int len, bool adapt) { |
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2542 nullptr}; | 2542 nullptr}; |
2543 static const char* harmony_tostring_natives[] = {nullptr}; | 2543 static const char* harmony_tostring_natives[] = {nullptr}; |
2544 static const char* harmony_sloppy_natives[] = {nullptr}; | 2544 static const char* harmony_sloppy_natives[] = {nullptr}; |
2545 static const char* harmony_sloppy_function_natives[] = {nullptr}; | 2545 static const char* harmony_sloppy_function_natives[] = {nullptr}; |
2546 static const char* harmony_sloppy_let_natives[] = {nullptr}; | 2546 static const char* harmony_sloppy_let_natives[] = {nullptr}; |
2547 static const char* harmony_unicode_regexps_natives[] = {nullptr}; | 2547 static const char* harmony_unicode_regexps_natives[] = {nullptr}; |
2548 static const char* harmony_rest_parameters_natives[] = {nullptr}; | 2548 static const char* harmony_rest_parameters_natives[] = {nullptr}; |
2549 static const char* harmony_default_parameters_natives[] = {nullptr}; | 2549 static const char* harmony_default_parameters_natives[] = {nullptr}; |
2550 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", | 2550 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", |
2551 nullptr}; | 2551 nullptr}; |
2552 static const char* harmony_destructuring_natives[] = {nullptr}; | 2552 static const char* harmony_destructuring_bind_natives[] = {nullptr}; |
2553 static const char* harmony_object_observe_natives[] = { | 2553 static const char* harmony_object_observe_natives[] = { |
2554 "native harmony-object-observe.js", nullptr}; | 2554 "native harmony-object-observe.js", nullptr}; |
2555 static const char* harmony_sharedarraybuffer_natives[] = { | 2555 static const char* harmony_sharedarraybuffer_natives[] = { |
2556 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; | 2556 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; |
2557 static const char* harmony_concat_spreadable_natives[] = {nullptr}; | 2557 static const char* harmony_concat_spreadable_natives[] = {nullptr}; |
2558 static const char* harmony_simd_natives[] = {"native harmony-simd.js", | 2558 static const char* harmony_simd_natives[] = {"native harmony-simd.js", |
2559 nullptr}; | 2559 nullptr}; |
2560 static const char* harmony_tolength_natives[] = {nullptr}; | 2560 static const char* harmony_tolength_natives[] = {nullptr}; |
2561 static const char* harmony_completion_natives[] = {nullptr}; | 2561 static const char* harmony_completion_natives[] = {nullptr}; |
2562 static const char* harmony_do_expressions_natives[] = {nullptr}; | 2562 static const char* harmony_do_expressions_natives[] = {nullptr}; |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3242 } | 3242 } |
3243 | 3243 |
3244 | 3244 |
3245 // Called when the top-level V8 mutex is destroyed. | 3245 // Called when the top-level V8 mutex is destroyed. |
3246 void Bootstrapper::FreeThreadResources() { | 3246 void Bootstrapper::FreeThreadResources() { |
3247 DCHECK(!IsActive()); | 3247 DCHECK(!IsActive()); |
3248 } | 3248 } |
3249 | 3249 |
3250 } // namespace internal | 3250 } // namespace internal |
3251 } // namespace v8 | 3251 } // namespace v8 |
OLD | NEW |