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

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

Issue 385553003: Implement handling of arrow functions in the parser (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Base patch set, makes ASAN choke Created 6 years, 5 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/ast.h ('k') | src/messages.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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 DEFINE_BOOL(harmony_proxies, false, "enable harmony proxies") 158 DEFINE_BOOL(harmony_proxies, false, "enable harmony proxies")
159 DEFINE_BOOL(harmony_collections, false, 159 DEFINE_BOOL(harmony_collections, false,
160 "enable harmony collections (sets, maps)") 160 "enable harmony collections (sets, maps)")
161 DEFINE_BOOL(harmony_generators, false, "enable harmony generators") 161 DEFINE_BOOL(harmony_generators, false, "enable harmony generators")
162 DEFINE_BOOL(harmony_iteration, false, "enable harmony iteration (for-of)") 162 DEFINE_BOOL(harmony_iteration, false, "enable harmony iteration (for-of)")
163 DEFINE_BOOL(harmony_numeric_literals, false, 163 DEFINE_BOOL(harmony_numeric_literals, false,
164 "enable harmony numeric literals (0o77, 0b11)") 164 "enable harmony numeric literals (0o77, 0b11)")
165 DEFINE_BOOL(harmony_strings, false, "enable harmony string") 165 DEFINE_BOOL(harmony_strings, false, "enable harmony string")
166 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays") 166 DEFINE_BOOL(harmony_arrays, false, "enable harmony arrays")
167 DEFINE_BOOL(harmony_maths, false, "enable harmony math functions") 167 DEFINE_BOOL(harmony_maths, false, "enable harmony math functions")
168 DEFINE_BOOL(harmony_arrow_functions, false, "enable harmony arrow functions")
168 DEFINE_BOOL(harmony, false, "enable all harmony features (except typeof)") 169 DEFINE_BOOL(harmony, false, "enable all harmony features (except typeof)")
169 170
170 DEFINE_IMPLICATION(harmony, harmony_scoping) 171 DEFINE_IMPLICATION(harmony, harmony_scoping)
171 DEFINE_IMPLICATION(harmony, harmony_modules) 172 DEFINE_IMPLICATION(harmony, harmony_modules)
172 DEFINE_IMPLICATION(harmony, harmony_proxies) 173 DEFINE_IMPLICATION(harmony, harmony_proxies)
173 DEFINE_IMPLICATION(harmony, harmony_collections) 174 DEFINE_IMPLICATION(harmony, harmony_collections)
174 DEFINE_IMPLICATION(harmony, harmony_generators) 175 DEFINE_IMPLICATION(harmony, harmony_generators)
175 DEFINE_IMPLICATION(harmony, harmony_iteration) 176 DEFINE_IMPLICATION(harmony, harmony_iteration)
176 DEFINE_IMPLICATION(harmony, harmony_numeric_literals) 177 DEFINE_IMPLICATION(harmony, harmony_numeric_literals)
177 DEFINE_IMPLICATION(harmony, harmony_strings) 178 DEFINE_IMPLICATION(harmony, harmony_strings)
178 DEFINE_IMPLICATION(harmony, harmony_arrays) 179 DEFINE_IMPLICATION(harmony, harmony_arrays)
180 DEFINE_IMPLICATION(harmony, harmony_arrow_functions)
179 DEFINE_IMPLICATION(harmony_modules, harmony_scoping) 181 DEFINE_IMPLICATION(harmony_modules, harmony_scoping)
180 DEFINE_IMPLICATION(harmony_collections, harmony_symbols) 182 DEFINE_IMPLICATION(harmony_collections, harmony_symbols)
181 DEFINE_IMPLICATION(harmony_generators, harmony_symbols) 183 DEFINE_IMPLICATION(harmony_generators, harmony_symbols)
182 DEFINE_IMPLICATION(harmony_iteration, harmony_symbols) 184 DEFINE_IMPLICATION(harmony_iteration, harmony_symbols)
183 185
184 DEFINE_IMPLICATION(harmony, es_staging) 186 DEFINE_IMPLICATION(harmony, es_staging)
185 DEFINE_IMPLICATION(es_staging, harmony_maths) 187 DEFINE_IMPLICATION(es_staging, harmony_maths)
186 DEFINE_IMPLICATION(es_staging, harmony_symbols) 188 DEFINE_IMPLICATION(es_staging, harmony_symbols)
187 DEFINE_IMPLICATION(es_staging, harmony_collections) 189 DEFINE_IMPLICATION(es_staging, harmony_collections)
188 190
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 #undef DEFINE_ALIAS_FLOAT 917 #undef DEFINE_ALIAS_FLOAT
916 #undef DEFINE_ALIAS_ARGS 918 #undef DEFINE_ALIAS_ARGS
917 919
918 #undef FLAG_MODE_DECLARE 920 #undef FLAG_MODE_DECLARE
919 #undef FLAG_MODE_DEFINE 921 #undef FLAG_MODE_DEFINE
920 #undef FLAG_MODE_DEFINE_DEFAULTS 922 #undef FLAG_MODE_DEFINE_DEFAULTS
921 #undef FLAG_MODE_META 923 #undef FLAG_MODE_META
922 #undef FLAG_MODE_DEFINE_IMPLICATIONS 924 #undef FLAG_MODE_DEFINE_IMPLICATIONS
923 925
924 #undef COMMA 926 #undef COMMA
OLDNEW
« no previous file with comments | « src/ast.h ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698