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

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

Issue 479543003: Stage ES6 generators (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Minor fix: remove harmony -> generators implication (staging is sufficient) 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 | « no previous file | test/mjsunit/es6/generators-debug-liveedit.js » ('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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 DEFINE_BOOL(harmony_strings, false, "enable harmony string") 160 DEFINE_BOOL(harmony_strings, false, "enable harmony string")
161 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") 161 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays")
162 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions") 162 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions")
163 DEFINE_BOOL(harmony_classes, false, "enable harmony classes") 163 DEFINE_BOOL(harmony_classes, false, "enable harmony classes")
164 DEFINE_BOOL(harmony, false, "enable all harmony features (except proxies)") 164 DEFINE_BOOL(harmony, false, "enable all harmony features (except proxies)")
165 165
166 DEFINE_IMPLICATION(harmony, harmony_scoping) 166 DEFINE_IMPLICATION(harmony, harmony_scoping)
167 DEFINE_IMPLICATION(harmony, harmony_modules) 167 DEFINE_IMPLICATION(harmony, harmony_modules)
168 // TODO(rossberg): Reenable when problems are sorted out. 168 // TODO(rossberg): Reenable when problems are sorted out.
169 // DEFINE_IMPLICATION(harmony, harmony_proxies) 169 // DEFINE_IMPLICATION(harmony, harmony_proxies)
170 DEFINE_IMPLICATION(harmony, harmony_generators)
171 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) 170 DEFINE_IMPLICATION(harmony, harmony_numeric_literals)
172 DEFINE_IMPLICATION(harmony, harmony_strings) 171 DEFINE_IMPLICATION(harmony, harmony_strings)
173 DEFINE_IMPLICATION(harmony, harmony_arrays) 172 DEFINE_IMPLICATION(harmony, harmony_arrays)
174 DEFINE_IMPLICATION(harmony, harmony_arrow_functions) 173 DEFINE_IMPLICATION(harmony, harmony_arrow_functions)
175 DEFINE_IMPLICATION(harmony, harmony_classes) 174 DEFINE_IMPLICATION(harmony, harmony_classes)
176 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) 175 DEFINE_IMPLICATION(harmony_modules, harmony_scoping)
177 176
178 DEFINE_IMPLICATION(harmony, es_staging) 177 DEFINE_IMPLICATION(harmony, es_staging)
178 DEFINE_IMPLICATION(es_staging, harmony_generators)
179 179
180 // Flags for experimental implementation features. 180 // Flags for experimental implementation features.
181 DEFINE_BOOL(compiled_keyed_dictionary_loads, true, 181 DEFINE_BOOL(compiled_keyed_dictionary_loads, true,
182 "use optimizing compiler to generate keyed dictionary load stubs") 182 "use optimizing compiler to generate keyed dictionary load stubs")
183 DEFINE_BOOL(compiled_keyed_generic_loads, false, 183 DEFINE_BOOL(compiled_keyed_generic_loads, false,
184 "use optimizing compiler to generate keyed generic load stubs") 184 "use optimizing compiler to generate keyed generic load stubs")
185 DEFINE_BOOL(clever_optimizations, true, 185 DEFINE_BOOL(clever_optimizations, true,
186 "Optimize object size, Array shift, DOM strings and string +") 186 "Optimize object size, Array shift, DOM strings and string +")
187 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 187 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
188 // support for specific allocation sites. 188 // support for specific allocation sites.
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 #undef DEFINE_ALIAS_FLOAT 928 #undef DEFINE_ALIAS_FLOAT
929 #undef DEFINE_ALIAS_ARGS 929 #undef DEFINE_ALIAS_ARGS
930 930
931 #undef FLAG_MODE_DECLARE 931 #undef FLAG_MODE_DECLARE
932 #undef FLAG_MODE_DEFINE 932 #undef FLAG_MODE_DEFINE
933 #undef FLAG_MODE_DEFINE_DEFAULTS 933 #undef FLAG_MODE_DEFINE_DEFAULTS
934 #undef FLAG_MODE_META 934 #undef FLAG_MODE_META
935 #undef FLAG_MODE_DEFINE_IMPLICATIONS 935 #undef FLAG_MODE_DEFINE_IMPLICATIONS
936 936
937 #undef COMMA 937 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/es6/generators-debug-liveedit.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698