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

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

Issue 71713002: Preliminary promise implementation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/bootstrapper.cc ('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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 "activate correct semantics for inheriting readonliness") 164 "activate correct semantics for inheriting readonliness")
165 DEFINE_bool(es52_globals, true, 165 DEFINE_bool(es52_globals, true,
166 "activate new semantics for global var declarations") 166 "activate new semantics for global var declarations")
167 167
168 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 168 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
169 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") 169 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
170 DEFINE_bool(harmony_modules, false, 170 DEFINE_bool(harmony_modules, false,
171 "enable harmony modules (implies block scoping)") 171 "enable harmony modules (implies block scoping)")
172 DEFINE_bool(harmony_symbols, false, 172 DEFINE_bool(harmony_symbols, false,
173 "enable harmony symbols (a.k.a. private names)") 173 "enable harmony symbols (a.k.a. private names)")
174 DEFINE_bool(harmony_promises, false, "enable harmony promises")
174 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 175 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
175 DEFINE_bool(harmony_collections, false, 176 DEFINE_bool(harmony_collections, false,
176 "enable harmony collections (sets, maps, and weak maps)") 177 "enable harmony collections (sets, maps, and weak maps)")
177 DEFINE_bool(harmony_observation, false, 178 DEFINE_bool(harmony_observation, false,
178 "enable harmony object observation (implies harmony collections") 179 "enable harmony object observation (implies harmony collections")
179 DEFINE_bool(harmony_generators, false, "enable harmony generators") 180 DEFINE_bool(harmony_generators, false, "enable harmony generators")
180 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") 181 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)")
181 DEFINE_bool(harmony_numeric_literals, false, 182 DEFINE_bool(harmony_numeric_literals, false,
182 "enable harmony numeric literals (0o77, 0b11)") 183 "enable harmony numeric literals (0o77, 0b11)")
183 DEFINE_bool(harmony_strings, false, "enable harmony string") 184 DEFINE_bool(harmony_strings, false, "enable harmony string")
184 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") 185 DEFINE_bool(harmony_arrays, false, "enable harmony arrays")
185 DEFINE_bool(harmony_maths, false, "enable harmony math functions") 186 DEFINE_bool(harmony_maths, false, "enable harmony math functions")
186 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 187 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
187 DEFINE_implication(harmony, harmony_scoping) 188 DEFINE_implication(harmony, harmony_scoping)
188 DEFINE_implication(harmony, harmony_modules) 189 DEFINE_implication(harmony, harmony_modules)
189 DEFINE_implication(harmony, harmony_symbols) 190 DEFINE_implication(harmony, harmony_symbols)
191 DEFINE_implication(harmony, harmony_promises)
190 DEFINE_implication(harmony, harmony_proxies) 192 DEFINE_implication(harmony, harmony_proxies)
191 DEFINE_implication(harmony, harmony_collections) 193 DEFINE_implication(harmony, harmony_collections)
192 DEFINE_implication(harmony, harmony_observation) 194 DEFINE_implication(harmony, harmony_observation)
193 DEFINE_implication(harmony, harmony_generators) 195 DEFINE_implication(harmony, harmony_generators)
194 DEFINE_implication(harmony, harmony_iteration) 196 DEFINE_implication(harmony, harmony_iteration)
195 DEFINE_implication(harmony, harmony_numeric_literals) 197 DEFINE_implication(harmony, harmony_numeric_literals)
196 DEFINE_implication(harmony, harmony_strings) 198 DEFINE_implication(harmony, harmony_strings)
197 DEFINE_implication(harmony, harmony_arrays) 199 DEFINE_implication(harmony, harmony_arrays)
198 DEFINE_implication(harmony, harmony_maths) 200 DEFINE_implication(harmony, harmony_maths)
201 DEFINE_implication(harmony_promises, harmony_collections)
202 // TODO(rossberg): this should go away before landing
203 DEFINE_implication(harmony_promises, harmony_observation)
199 DEFINE_implication(harmony_modules, harmony_scoping) 204 DEFINE_implication(harmony_modules, harmony_scoping)
200 DEFINE_implication(harmony_observation, harmony_collections) 205 DEFINE_implication(harmony_observation, harmony_collections)
201 206
202 // Flags for experimental implementation features. 207 // Flags for experimental implementation features.
203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 208 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 209 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
205 DEFINE_bool(clever_optimizations, true, 210 DEFINE_bool(clever_optimizations, true,
206 "Optimize object size, Array shift, DOM strings and string +") 211 "Optimize object size, Array shift, DOM strings and string +")
207 DEFINE_bool(pretenuring, true, "allocate objects in old space") 212 DEFINE_bool(pretenuring, true, "allocate objects in old space")
208 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 213 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 #undef DEFINE_ALIAS_float 895 #undef DEFINE_ALIAS_float
891 #undef DEFINE_ALIAS_args 896 #undef DEFINE_ALIAS_args
892 897
893 #undef FLAG_MODE_DECLARE 898 #undef FLAG_MODE_DECLARE
894 #undef FLAG_MODE_DEFINE 899 #undef FLAG_MODE_DEFINE
895 #undef FLAG_MODE_DEFINE_DEFAULTS 900 #undef FLAG_MODE_DEFINE_DEFAULTS
896 #undef FLAG_MODE_META 901 #undef FLAG_MODE_META
897 #undef FLAG_MODE_DEFINE_IMPLICATIONS 902 #undef FLAG_MODE_DEFINE_IMPLICATIONS
898 903
899 #undef COMMA 904 #undef COMMA
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698