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

Side by Side Diff: src/flag-definitions.h

Issue 427723002: Enable ES6 Map and Set by default (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove old test, fix BUILD.gn Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/bootstrapper.cc ('k') | test/cctest/test-api.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 #define FLAG FLAG_FULL 147 #define FLAG FLAG_FULL
148 148
149 // Flags for language modes and experimental language features. 149 // Flags for language modes and experimental language features.
150 DEFINE_BOOL(use_strict, false, "enforce strict mode") 150 DEFINE_BOOL(use_strict, false, "enforce strict mode")
151 DEFINE_BOOL(es_staging, false, "enable upcoming ES6+ features") 151 DEFINE_BOOL(es_staging, false, "enable upcoming ES6+ features")
152 152
153 DEFINE_BOOL(harmony_scoping, false, "enable harmony block scoping") 153 DEFINE_BOOL(harmony_scoping, false, "enable harmony block scoping")
154 DEFINE_BOOL(harmony_modules, false, 154 DEFINE_BOOL(harmony_modules, false,
155 "enable harmony modules (implies block scoping)") 155 "enable harmony modules (implies block scoping)")
156 DEFINE_BOOL(harmony_proxies, false, "enable harmony proxies") 156 DEFINE_BOOL(harmony_proxies, false, "enable harmony proxies")
157 DEFINE_BOOL(harmony_collections, false,
158 "enable harmony collections (sets, maps)")
159 DEFINE_BOOL(harmony_generators, false, "enable harmony generators") 157 DEFINE_BOOL(harmony_generators, false, "enable harmony generators")
160 DEFINE_BOOL(harmony_iteration, false, "enable harmony iteration (for-of)") 158 DEFINE_BOOL(harmony_iteration, false, "enable harmony iteration (for-of)")
161 DEFINE_BOOL(harmony_numeric_literals, false, 159 DEFINE_BOOL(harmony_numeric_literals, false,
162 "enable harmony numeric literals (0o77, 0b11)") 160 "enable harmony numeric literals (0o77, 0b11)")
163 DEFINE_BOOL(harmony_strings, false, "enable harmony string") 161 DEFINE_BOOL(harmony_strings, false, "enable harmony string")
164 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") 162 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays")
165 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions") 163 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions")
166 DEFINE_BOOL(harmony, false, "enable all harmony features") 164 DEFINE_BOOL(harmony, false, "enable all harmony features")
167 165
168 DEFINE_IMPLICATION(harmony, harmony_scoping) 166 DEFINE_IMPLICATION(harmony, harmony_scoping)
169 DEFINE_IMPLICATION(harmony, harmony_modules) 167 DEFINE_IMPLICATION(harmony, harmony_modules)
170 DEFINE_IMPLICATION(harmony, harmony_proxies) 168 DEFINE_IMPLICATION(harmony, harmony_proxies)
171 DEFINE_IMPLICATION(harmony, harmony_collections)
172 DEFINE_IMPLICATION(harmony, harmony_generators) 169 DEFINE_IMPLICATION(harmony, harmony_generators)
173 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) 170 DEFINE_IMPLICATION(harmony, harmony_numeric_literals)
174 DEFINE_IMPLICATION(harmony, harmony_strings) 171 DEFINE_IMPLICATION(harmony, harmony_strings)
175 DEFINE_IMPLICATION(harmony, harmony_arrays) 172 DEFINE_IMPLICATION(harmony, harmony_arrays)
176 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) 173 DEFINE_IMPLICATION(harmony, harmony_arrow_functions)
177 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) 174 DEFINE_IMPLICATION(harmony_modules, harmony_scoping)
178 175
179 DEFINE_IMPLICATION(harmony, es_staging) 176 DEFINE_IMPLICATION(harmony, es_staging)
180 DEFINE_IMPLICATION(es_staging, harmony_collections)
181 DEFINE_IMPLICATION(es_staging, harmony_iteration) 177 DEFINE_IMPLICATION(es_staging, harmony_iteration)
182 178
183 // Flags for experimental implementation features. 179 // Flags for experimental implementation features.
184 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, 180 DEFINE_BOOL(compiled_keyed_dictionary_loads, true,
185 "use optimizing compiler to generate keyed dictionary load stubs") 181 "use optimizing compiler to generate keyed dictionary load stubs")
186 DEFINE_BOOL(compiled_keyed_generic_loads, false, 182 DEFINE_BOOL(compiled_keyed_generic_loads, false,
187 "use optimizing compiler to generate keyed generic load stubs") 183 "use optimizing compiler to generate keyed generic load stubs")
188 DEFINE_BOOL(clever_optimizations, true, 184 DEFINE_BOOL(clever_optimizations, true,
189 "Optimize object size, Array shift, DOM strings and string +") 185 "Optimize object size, Array shift, DOM strings and string +")
190 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 186 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 #undef DEFINE_ALIAS_FLOAT 923 #undef DEFINE_ALIAS_FLOAT
928 #undef DEFINE_ALIAS_ARGS 924 #undef DEFINE_ALIAS_ARGS
929 925
930 #undef FLAG_MODE_DECLARE 926 #undef FLAG_MODE_DECLARE
931 #undef FLAG_MODE_DEFINE 927 #undef FLAG_MODE_DEFINE
932 #undef FLAG_MODE_DEFINE_DEFAULTS 928 #undef FLAG_MODE_DEFINE_DEFAULTS
933 #undef FLAG_MODE_META 929 #undef FLAG_MODE_META
934 #undef FLAG_MODE_DEFINE_IMPLICATIONS 930 #undef FLAG_MODE_DEFINE_IMPLICATIONS
935 931
936 #undef COMMA 932 #undef COMMA
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698