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

Side by Side Diff: src/bootstrapper.cc

Issue 2478883002: Remove always-true --harmony-restrictive-declarations flag (Closed)
Patch Set: Formatting Created 4 years, 1 month 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/base/ieee754.h" 9 #include "src/base/ieee754.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 3219 matching lines...) Expand 10 before | Expand all | Expand 10 after
3230 3230
3231 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \ 3231 #define EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(id) \
3232 void Genesis::InitializeGlobal_##id() {} 3232 void Genesis::InitializeGlobal_##id() {}
3233 3233
3234 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions) 3234 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_do_expressions)
3235 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind) 3235 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_lookbehind)
3236 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures) 3236 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_named_captures)
3237 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property) 3237 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_regexp_property)
3238 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent) 3238 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_function_sent)
3239 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls) 3239 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_tailcalls)
3240 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_declarations)
3241 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding) 3240 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_string_padding)
3242 #ifdef V8_I18N_SUPPORT 3241 #ifdef V8_I18N_SUPPORT
3243 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts) 3242 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(datetime_format_to_parts)
3244 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping) 3243 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(icu_case_mapping)
3245 #endif 3244 #endif
3246 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await) 3245 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_async_await)
3247 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators) 3246 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_restrictive_generators)
3248 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas) 3247 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_trailing_commas)
3249 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields) 3248 EMPTY_INITIALIZE_GLOBAL_FOR_FEATURE(harmony_class_fields)
3250 3249
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
3790 3789
3791 3790
3792 bool Genesis::InstallExperimentalNatives() { 3791 bool Genesis::InstallExperimentalNatives() {
3793 static const char* harmony_tailcalls_natives[] = {nullptr}; 3792 static const char* harmony_tailcalls_natives[] = {nullptr};
3794 static const char* harmony_sharedarraybuffer_natives[] = { 3793 static const char* harmony_sharedarraybuffer_natives[] = {
3795 "native harmony-atomics.js", NULL}; 3794 "native harmony-atomics.js", NULL};
3796 static const char* harmony_simd_natives[] = {"native harmony-simd.js", 3795 static const char* harmony_simd_natives[] = {"native harmony-simd.js",
3797 nullptr}; 3796 nullptr};
3798 static const char* harmony_do_expressions_natives[] = {nullptr}; 3797 static const char* harmony_do_expressions_natives[] = {nullptr};
3799 static const char* harmony_regexp_lookbehind_natives[] = {nullptr}; 3798 static const char* harmony_regexp_lookbehind_natives[] = {nullptr};
3800 static const char* harmony_restrictive_declarations_natives[] = {nullptr};
3801 static const char* harmony_regexp_named_captures_natives[] = {nullptr}; 3799 static const char* harmony_regexp_named_captures_natives[] = {nullptr};
3802 static const char* harmony_regexp_property_natives[] = {nullptr}; 3800 static const char* harmony_regexp_property_natives[] = {nullptr};
3803 static const char* harmony_function_sent_natives[] = {nullptr}; 3801 static const char* harmony_function_sent_natives[] = {nullptr};
3804 static const char* harmony_array_prototype_values_natives[] = {nullptr}; 3802 static const char* harmony_array_prototype_values_natives[] = {nullptr};
3805 static const char* harmony_string_padding_natives[] = { 3803 static const char* harmony_string_padding_natives[] = {
3806 "native harmony-string-padding.js", nullptr}; 3804 "native harmony-string-padding.js", nullptr};
3807 #ifdef V8_I18N_SUPPORT 3805 #ifdef V8_I18N_SUPPORT
3808 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js", 3806 static const char* icu_case_mapping_natives[] = {"native icu-case-mapping.js",
3809 nullptr}; 3807 nullptr};
3810 static const char* datetime_format_to_parts_natives[] = { 3808 static const char* datetime_format_to_parts_natives[] = {
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
4543 } 4541 }
4544 4542
4545 4543
4546 // Called when the top-level V8 mutex is destroyed. 4544 // Called when the top-level V8 mutex is destroyed.
4547 void Bootstrapper::FreeThreadResources() { 4545 void Bootstrapper::FreeThreadResources() {
4548 DCHECK(!IsActive()); 4546 DCHECK(!IsActive());
4549 } 4547 }
4550 4548
4551 } // namespace internal 4549 } // namespace internal
4552 } // namespace v8 4550 } // 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