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

Side by Side Diff: src/bootstrapper.cc

Issue 1858943002: Remove runtime flags for sloppy mode block scoping features (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebased Created 4 years, 8 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 2361 matching lines...) Expand 10 before | Expand all | Expand 10 after
2372 2372
2373 INITIALIZE_FLAG(FLAG_harmony_species) 2373 INITIALIZE_FLAG(FLAG_harmony_species)
2374 2374
2375 #undef INITIALIZE_FLAG 2375 #undef INITIALIZE_FLAG
2376 } 2376 }
2377 2377
2378 2378
2379 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 2379 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
2380 void Genesis::InitializeGlobal_##id() {} 2380 void Genesis::InitializeGlobal_##id() {}
2381 2381
2382 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy)
2383 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function)
2384 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let)
2385 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2382 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2386 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2383 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
2387 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 2384 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
2388 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) 2385 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close)
2389 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) 2386 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec)
2390 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 2387 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
2391 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) 2388 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property)
2392 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) 2389 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name)
2393 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) 2390 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent)
2394 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) 2391 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra)
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
2911 map->AppendDescriptor(&d); 2908 map->AppendDescriptor(&d);
2912 } 2909 }
2913 } 2910 }
2914 2911
2915 return true; 2912 return true;
2916 } 2913 }
2917 2914
2918 2915
2919 bool Genesis::InstallExperimentalNatives() { 2916 bool Genesis::InstallExperimentalNatives() {
2920 static const char* harmony_iterator_close_natives[] = {nullptr}; 2917 static const char* harmony_iterator_close_natives[] = {nullptr};
2921 static const char* harmony_sloppy_natives[] = {nullptr};
2922 static const char* harmony_sloppy_function_natives[] = {nullptr};
2923 static const char* harmony_sloppy_let_natives[] = {nullptr};
2924 static const char* harmony_species_natives[] = {"native harmony-species.js", 2918 static const char* harmony_species_natives[] = {"native harmony-species.js",
2925 nullptr}; 2919 nullptr};
2926 static const char* harmony_tailcalls_natives[] = {nullptr}; 2920 static const char* harmony_tailcalls_natives[] = {nullptr};
2927 static const char* harmony_unicode_regexps_natives[] = { 2921 static const char* harmony_unicode_regexps_natives[] = {
2928 "native harmony-unicode-regexps.js", nullptr}; 2922 "native harmony-unicode-regexps.js", nullptr};
2929 static const char* harmony_object_observe_natives[] = { 2923 static const char* harmony_object_observe_natives[] = {
2930 "native harmony-object-observe.js", nullptr}; 2924 "native harmony-object-observe.js", nullptr};
2931 static const char* harmony_sharedarraybuffer_natives[] = { 2925 static const char* harmony_sharedarraybuffer_natives[] = {
2932 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL}; 2926 "native harmony-sharedarraybuffer.js", "native harmony-atomics.js", NULL};
2933 static const char* harmony_simd_natives[] = {"native harmony-simd.js", 2927 static const char* harmony_simd_natives[] = {"native harmony-simd.js",
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
3617 } 3611 }
3618 3612
3619 3613
3620 // Called when the top-level V8 mutex is destroyed. 3614 // Called when the top-level V8 mutex is destroyed.
3621 void Bootstrapper::FreeThreadResources() { 3615 void Bootstrapper::FreeThreadResources() {
3622 DCHECK(!IsActive()); 3616 DCHECK(!IsActive());
3623 } 3617 }
3624 3618
3625 } // namespace internal 3619 } // namespace internal
3626 } // namespace v8 3620 } // 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