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

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

Issue 219303002: Revert 20313 - "Ship promises and weak collections" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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') | src/promise.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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // Flags for language modes and experimental language features. 168 // Flags for language modes and experimental language features.
169 DEFINE_bool(use_strict, false, "enforce strict mode") 169 DEFINE_bool(use_strict, false, "enforce strict mode")
170 DEFINE_bool(es_staging, false, "enable upcoming ES6+ features") 170 DEFINE_bool(es_staging, false, "enable upcoming ES6+ features")
171 171
172 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 172 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
173 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") 173 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
174 DEFINE_bool(harmony_modules, false, 174 DEFINE_bool(harmony_modules, false,
175 "enable harmony modules (implies block scoping)") 175 "enable harmony modules (implies block scoping)")
176 DEFINE_bool(harmony_symbols, false, 176 DEFINE_bool(harmony_symbols, false,
177 "enable harmony symbols (a.k.a. private names)") 177 "enable harmony symbols (a.k.a. private names)")
178 DEFINE_bool(harmony_promises, false, "enable harmony promises")
178 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 179 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
179 DEFINE_bool(harmony_collections, false, 180 DEFINE_bool(harmony_collections, false,
180 "enable harmony collections (sets, maps)") 181 "enable harmony collections (sets, maps, weak sets, weak maps)")
182 DEFINE_bool(harmony_weak_collections, false,
183 "enable only harmony weak collections (weak sets and maps)")
181 DEFINE_bool(harmony_generators, false, "enable harmony generators") 184 DEFINE_bool(harmony_generators, false, "enable harmony generators")
182 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") 185 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)")
183 DEFINE_bool(harmony_numeric_literals, false, 186 DEFINE_bool(harmony_numeric_literals, false,
184 "enable harmony numeric literals (0o77, 0b11)") 187 "enable harmony numeric literals (0o77, 0b11)")
185 DEFINE_bool(harmony_strings, false, "enable harmony string") 188 DEFINE_bool(harmony_strings, false, "enable harmony string")
186 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") 189 DEFINE_bool(harmony_arrays, false, "enable harmony arrays")
187 DEFINE_bool(harmony_maths, false, "enable harmony math functions") 190 DEFINE_bool(harmony_maths, false, "enable harmony math functions")
188 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 191 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
189 192
190 DEFINE_implication(harmony, harmony_scoping) 193 DEFINE_implication(harmony, harmony_scoping)
191 DEFINE_implication(harmony, harmony_modules) 194 DEFINE_implication(harmony, harmony_modules)
192 DEFINE_implication(harmony, harmony_symbols) 195 DEFINE_implication(harmony, harmony_symbols)
193 DEFINE_implication(harmony, harmony_proxies) 196 DEFINE_implication(harmony, harmony_proxies)
194 DEFINE_implication(harmony, harmony_collections) 197 DEFINE_implication(harmony, harmony_collections)
195 DEFINE_implication(harmony, harmony_generators) 198 DEFINE_implication(harmony, harmony_generators)
196 DEFINE_implication(harmony, harmony_iteration) 199 DEFINE_implication(harmony, harmony_iteration)
197 DEFINE_implication(harmony, harmony_numeric_literals) 200 DEFINE_implication(harmony, harmony_numeric_literals)
198 DEFINE_implication(harmony, harmony_strings) 201 DEFINE_implication(harmony, harmony_strings)
199 DEFINE_implication(harmony, harmony_arrays) 202 DEFINE_implication(harmony, harmony_arrays)
203 DEFINE_implication(harmony_collections, harmony_weak_collections)
204 DEFINE_implication(harmony_promises, harmony_weak_collections)
200 DEFINE_implication(harmony_modules, harmony_scoping) 205 DEFINE_implication(harmony_modules, harmony_scoping)
201 206
202 DEFINE_implication(harmony, es_staging) 207 DEFINE_implication(harmony, es_staging)
203 DEFINE_implication(es_staging, harmony_maths) 208 DEFINE_implication(es_staging, harmony_maths)
209 DEFINE_implication(es_staging, harmony_promises)
210 DEFINE_implication(es_staging, harmony_weak_collections)
204 211
205 // Flags for experimental implementation features. 212 // Flags for experimental implementation features.
206 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 213 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
207 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 214 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
208 DEFINE_bool(compiled_keyed_dictionary_loads, true, 215 DEFINE_bool(compiled_keyed_dictionary_loads, true,
209 "use optimizing compiler to generate keyed dictionary load stubs") 216 "use optimizing compiler to generate keyed dictionary load stubs")
210 DEFINE_bool(clever_optimizations, true, 217 DEFINE_bool(clever_optimizations, true,
211 "Optimize object size, Array shift, DOM strings and string +") 218 "Optimize object size, Array shift, DOM strings and string +")
212 DEFINE_bool(pretenuring, true, "allocate objects in old space") 219 DEFINE_bool(pretenuring, true, "allocate objects in old space")
213 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 220 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
(...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 #undef DEFINE_ALIAS_float 924 #undef DEFINE_ALIAS_float
918 #undef DEFINE_ALIAS_args 925 #undef DEFINE_ALIAS_args
919 926
920 #undef FLAG_MODE_DECLARE 927 #undef FLAG_MODE_DECLARE
921 #undef FLAG_MODE_DEFINE 928 #undef FLAG_MODE_DEFINE
922 #undef FLAG_MODE_DEFINE_DEFAULTS 929 #undef FLAG_MODE_DEFINE_DEFAULTS
923 #undef FLAG_MODE_META 930 #undef FLAG_MODE_META
924 #undef FLAG_MODE_DEFINE_IMPLICATIONS 931 #undef FLAG_MODE_DEFINE_IMPLICATIONS
925 932
926 #undef COMMA 933 #undef COMMA
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698