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

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

Issue 546803003: Update ObjectToString to Harmony-draft algorithm (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase, rename ObjectToString Created 6 years, 2 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/collection.js ('k') | src/generator.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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 DEFINE_IMPLICATION(harmony, es_staging) 155 DEFINE_IMPLICATION(harmony, es_staging)
156 156
157 #define HARMONY_FEATURES(V) \ 157 #define HARMONY_FEATURES(V) \
158 V(harmony_scoping, "harmony block scoping") \ 158 V(harmony_scoping, "harmony block scoping") \
159 V(harmony_modules, "harmony modules (implies block scoping)") \ 159 V(harmony_modules, "harmony modules (implies block scoping)") \
160 V(harmony_strings, "harmony strings") \ 160 V(harmony_strings, "harmony strings") \
161 V(harmony_arrays, "harmony arrays") \ 161 V(harmony_arrays, "harmony arrays") \
162 V(harmony_classes, "harmony classes") \ 162 V(harmony_classes, "harmony classes") \
163 V(harmony_object_literals, "harmony object literal extensions") \ 163 V(harmony_object_literals, "harmony object literal extensions") \
164 V(harmony_regexps, "reg-exp related harmony features") \ 164 V(harmony_regexps, "reg-exp related harmony features") \
165 V(harmony_arrow_functions, "harmony arrow functions") 165 V(harmony_arrow_functions, "harmony arrow functions") \
166 V(harmony_tostring, "harmony Symbol.toStringTag")
166 167
167 #define STAGED_FEATURES(V) \ 168 #define STAGED_FEATURES(V) \
168 V(harmony_numeric_literals, "harmony numeric literals (0o77, 0b11)") 169 V(harmony_numeric_literals, "harmony numeric literals (0o77, 0b11)")
169 170
170 #define SHIPPING_FEATURES(V) 171 #define SHIPPING_FEATURES(V)
171 172
172 #define FLAG_FEATURES(id, description) \ 173 #define FLAG_FEATURES(id, description) \
173 DEFINE_BOOL(id, false, "enable " #description) \ 174 DEFINE_BOOL(id, false, "enable " #description) \
174 DEFINE_IMPLICATION(harmony, id) 175 DEFINE_IMPLICATION(harmony, id)
175 176
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 #undef DEFINE_ALIAS_FLOAT 949 #undef DEFINE_ALIAS_FLOAT
949 #undef DEFINE_ALIAS_ARGS 950 #undef DEFINE_ALIAS_ARGS
950 951
951 #undef FLAG_MODE_DECLARE 952 #undef FLAG_MODE_DECLARE
952 #undef FLAG_MODE_DEFINE 953 #undef FLAG_MODE_DEFINE
953 #undef FLAG_MODE_DEFINE_DEFAULTS 954 #undef FLAG_MODE_DEFINE_DEFAULTS
954 #undef FLAG_MODE_META 955 #undef FLAG_MODE_META
955 #undef FLAG_MODE_DEFINE_IMPLICATIONS 956 #undef FLAG_MODE_DEFINE_IMPLICATIONS
956 957
957 #undef COMMA 958 #undef COMMA
OLDNEW
« no previous file with comments | « src/collection.js ('k') | src/generator.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698