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

Side by Side Diff: src/bootstrapper.cc

Issue 1838563003: Remove --harmony-regexps flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « BUILD.gn ('k') | 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 2341 matching lines...) Expand 10 before | Expand all | Expand 10 after
2352 } 2352 }
2353 2353
2354 2354
2355 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 2355 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
2356 void Genesis::InitializeGlobal_##id() {} 2356 void Genesis::InitializeGlobal_##id() {}
2357 2357
2358 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy) 2358 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy)
2359 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function) 2359 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_function)
2360 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let) 2360 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_sloppy_let)
2361 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe) 2361 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_object_observe)
2362 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexps)
2363 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps) 2362 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_unicode_regexps)
2364 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 2363 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
2365 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close) 2364 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_iterator_close)
2366 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec) 2365 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_exec)
2367 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 2366 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
2368 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) 2367 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property)
2369 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name) 2368 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_name)
2370 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) 2369 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent)
2371 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra) 2370 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(promise_extra)
2372 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) 2371 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls)
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
2918 Map::EnsureDescriptorSlack(map, 1); 2917 Map::EnsureDescriptorSlack(map, 1);
2919 map->AppendDescriptor(&d); 2918 map->AppendDescriptor(&d);
2920 } 2919 }
2921 } 2920 }
2922 2921
2923 return true; 2922 return true;
2924 } 2923 }
2925 2924
2926 2925
2927 bool Genesis::InstallExperimentalNatives() { 2926 bool Genesis::InstallExperimentalNatives() {
2928 static const char* harmony_regexps_natives[] = {"native harmony-regexp.js",
2929 nullptr};
2930 static const char* harmony_iterator_close_natives[] = {nullptr}; 2927 static const char* harmony_iterator_close_natives[] = {nullptr};
2931 static const char* harmony_sloppy_natives[] = {nullptr}; 2928 static const char* harmony_sloppy_natives[] = {nullptr};
2932 static const char* harmony_sloppy_function_natives[] = {nullptr}; 2929 static const char* harmony_sloppy_function_natives[] = {nullptr};
2933 static const char* harmony_sloppy_let_natives[] = {nullptr}; 2930 static const char* harmony_sloppy_let_natives[] = {nullptr};
2934 static const char* harmony_species_natives[] = {"native harmony-species.js", 2931 static const char* harmony_species_natives[] = {"native harmony-species.js",
2935 nullptr}; 2932 nullptr};
2936 static const char* harmony_tailcalls_natives[] = {nullptr}; 2933 static const char* harmony_tailcalls_natives[] = {nullptr};
2937 static const char* harmony_unicode_regexps_natives[] = { 2934 static const char* harmony_unicode_regexps_natives[] = {
2938 "native harmony-unicode-regexps.js", nullptr}; 2935 "native harmony-unicode-regexps.js", nullptr};
2939 static const char* harmony_object_observe_natives[] = { 2936 static const char* harmony_object_observe_natives[] = {
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
3627 } 3624 }
3628 3625
3629 3626
3630 // Called when the top-level V8 mutex is destroyed. 3627 // Called when the top-level V8 mutex is destroyed.
3631 void Bootstrapper::FreeThreadResources() { 3628 void Bootstrapper::FreeThreadResources() {
3632 DCHECK(!IsActive()); 3629 DCHECK(!IsActive());
3633 } 3630 }
3634 3631
3635 } // namespace internal 3632 } // namespace internal
3636 } // namespace v8 3633 } // namespace v8
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698