Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: src/bootstrapper.cc

Issue 1776683003: Remove destructuring and default arguments runtime flags (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2247 matching lines...) Expand 10 before | Expand all | Expand 10 after
2258 } 2258 }
2259 2259
2260 2260
2261 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 2261 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
2262 void Genesis::InitializeGlobal_##id() {} 2262 void Genesis::InitializeGlobal_##id() {}
2263 2263
2264 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules) 2264 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_modules)
2265 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) 2265 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy)
2266 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) 2266 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function)
2267 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) 2267 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let)
2268 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_default_parameters)
2269 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_bind)
2270 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_destructuring_assignment)
2271 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2268 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2272 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps) 2269 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps)
2273 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2270 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
2274 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 2271 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
2275 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) 2272 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close)
2276 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 2273 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
2277 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) 2274 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property)
2278 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) 2275 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name)
2279 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) 2276 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent)
2280 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) 2277 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra)
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
2963 static const char* harmony_tostring_natives[] = {nullptr}; 2960 static const char* harmony_tostring_natives[] = {nullptr};
2964 static const char* harmony_iterator_close_natives[] = {nullptr}; 2961 static const char* harmony_iterator_close_natives[] = {nullptr};
2965 static const char* harmony_sloppy_natives[] = {nullptr}; 2962 static const char* harmony_sloppy_natives[] = {nullptr};
2966 static const char* harmony_sloppy_function_natives[] = {nullptr}; 2963 static const char* harmony_sloppy_function_natives[] = {nullptr};
2967 static const char* harmony_sloppy_let_natives[] = {nullptr}; 2964 static const char* harmony_sloppy_let_natives[] = {nullptr};
2968 static const char* harmony_species_natives[] = {"native harmony-species.js", 2965 static const char* harmony_species_natives[] = {"native harmony-species.js",
2969 nullptr}; 2966 nullptr};
2970 static const char* harmony_tailcalls_natives[] = {nullptr}; 2967 static const char* harmony_tailcalls_natives[] = {nullptr};
2971 static const char* harmony_unicode_regexps_natives[] = { 2968 static const char* harmony_unicode_regexps_natives[] = {
2972 "native harmony-unicode-regexps.js", nullptr}; 2969 "native harmony-unicode-regexps.js", nullptr};
2973 static const char* harmony_default_parameters_natives[] = {nullptr};
2974 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js", 2970 static const char* harmony_reflect_natives[] = {"native harmony-reflect.js",
2975 nullptr}; 2971 nullptr};
2976 static const char* harmony_destructuring_bind_natives[] = {nullptr};
2977 static const char* harmony_destructuring_assignment_natives[] = {nullptr};
2978 static const char* harmony_object_observe_natives[] = { 2972 static const char* harmony_object_observe_natives[] = {
2979 "native harmony-object-observe.js", nullptr}; 2973 "native harmony-object-observe.js", nullptr};
2980 static const char* harmony_sharedarraybuffer_natives[] = { 2974 static const char* harmony_sharedarraybuffer_natives[] = {
2981 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; 2975 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL};
2982 static const char* harmony_simd_natives[] = {"native harmony-simd.js", 2976 static const char* harmony_simd_natives[] = {"native harmony-simd.js",
2983 nullptr}; 2977 nullptr};
2984 static const char* harmony_do_expressions_natives[] = {nullptr}; 2978 static const char* harmony_do_expressions_natives[] = {nullptr};
2985 static const char* harmony_regexp_subclass_natives[] = {nullptr}; 2979 static const char* harmony_regexp_subclass_natives[] = {nullptr};
2986 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; 2980 static const char* harmony_regexp_lookbehind_natives[] = {nullptr};
2987 static const char* harmony_instanceof_natives[] = {nullptr}; 2981 static const char* harmony_instanceof_natives[] = {nullptr};
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
3661 } 3655 }
3662 3656
3663 3657
3664 // Called when the top-level V8 mutex is destroyed. 3658 // Called when the top-level V8 mutex is destroyed.
3665 void Bootstrapper::FreeThreadResources() { 3659 void Bootstrapper::FreeThreadResources() {
3666 DCHECK(!IsActive()); 3660 DCHECK(!IsActive());
3667 } 3661 }
3668 3662
3669 } // namespace internal 3663 } // namespace internal
3670 } // namespace v8 3664 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698