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

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

Issue 183683022: Enable Object.observe by default (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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
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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") 175 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof")
176 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") 176 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
177 DEFINE_bool(harmony_modules, false, 177 DEFINE_bool(harmony_modules, false,
178 "enable harmony modules (implies block scoping)") 178 "enable harmony modules (implies block scoping)")
179 DEFINE_bool(harmony_symbols, false, 179 DEFINE_bool(harmony_symbols, false,
180 "enable harmony symbols (a.k.a. private names)") 180 "enable harmony symbols (a.k.a. private names)")
181 DEFINE_bool(harmony_promises, false, "enable harmony promises") 181 DEFINE_bool(harmony_promises, false, "enable harmony promises")
182 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 182 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
183 DEFINE_bool(harmony_collections, false, 183 DEFINE_bool(harmony_collections, false,
184 "enable harmony collections (sets, maps, and weak maps)") 184 "enable harmony collections (sets, maps, and weak maps)")
185 DEFINE_bool(harmony_observation, false,
186 "enable harmony object observation (implies harmony collections")
187 DEFINE_bool(harmony_generators, false, "enable harmony generators") 185 DEFINE_bool(harmony_generators, false, "enable harmony generators")
188 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") 186 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)")
189 DEFINE_bool(harmony_numeric_literals, false, 187 DEFINE_bool(harmony_numeric_literals, false,
190 "enable harmony numeric literals (0o77, 0b11)") 188 "enable harmony numeric literals (0o77, 0b11)")
191 DEFINE_bool(harmony_strings, false, "enable harmony string") 189 DEFINE_bool(harmony_strings, false, "enable harmony string")
192 DEFINE_bool(harmony_arrays, false, "enable harmony arrays") 190 DEFINE_bool(harmony_arrays, false, "enable harmony arrays")
193 DEFINE_bool(harmony_maths, false, "enable harmony math functions") 191 DEFINE_bool(harmony_maths, false, "enable harmony math functions")
194 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 192 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
195 DEFINE_implication(harmony, harmony_scoping) 193 DEFINE_implication(harmony, harmony_scoping)
196 DEFINE_implication(harmony, harmony_modules) 194 DEFINE_implication(harmony, harmony_modules)
197 DEFINE_implication(harmony, harmony_symbols) 195 DEFINE_implication(harmony, harmony_symbols)
198 DEFINE_implication(harmony, harmony_promises) 196 DEFINE_implication(harmony, harmony_promises)
199 DEFINE_implication(harmony, harmony_proxies) 197 DEFINE_implication(harmony, harmony_proxies)
200 DEFINE_implication(harmony, harmony_collections) 198 DEFINE_implication(harmony, harmony_collections)
201 DEFINE_implication(harmony, harmony_observation)
202 DEFINE_implication(harmony, harmony_generators) 199 DEFINE_implication(harmony, harmony_generators)
203 DEFINE_implication(harmony, harmony_iteration) 200 DEFINE_implication(harmony, harmony_iteration)
204 DEFINE_implication(harmony, harmony_numeric_literals) 201 DEFINE_implication(harmony, harmony_numeric_literals)
205 DEFINE_implication(harmony, harmony_strings) 202 DEFINE_implication(harmony, harmony_strings)
206 DEFINE_implication(harmony, harmony_arrays) 203 DEFINE_implication(harmony, harmony_arrays)
207 DEFINE_implication(harmony, harmony_maths) 204 DEFINE_implication(harmony, harmony_maths)
208 DEFINE_implication(harmony_promises, harmony_collections) 205 DEFINE_implication(harmony_promises, harmony_collections)
209 DEFINE_implication(harmony_modules, harmony_scoping) 206 DEFINE_implication(harmony_modules, harmony_scoping)
210 DEFINE_implication(harmony_observation, harmony_collections)
211 207
212 // Flags for experimental implementation features. 208 // Flags for experimental implementation features.
213 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 209 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
214 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 210 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
215 DEFINE_bool(compiled_keyed_dictionary_loads, true, 211 DEFINE_bool(compiled_keyed_dictionary_loads, true,
216 "use optimizing compiler to generate keyed dictionary load stubs") 212 "use optimizing compiler to generate keyed dictionary load stubs")
217 DEFINE_bool(clever_optimizations, true, 213 DEFINE_bool(clever_optimizations, true,
218 "Optimize object size, Array shift, DOM strings and string +") 214 "Optimize object size, Array shift, DOM strings and string +")
219 DEFINE_bool(pretenuring, true, "allocate objects in old space") 215 DEFINE_bool(pretenuring, true, "allocate objects in old space")
220 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 216 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 #undef DEFINE_ALIAS_float 915 #undef DEFINE_ALIAS_float
920 #undef DEFINE_ALIAS_args 916 #undef DEFINE_ALIAS_args
921 917
922 #undef FLAG_MODE_DECLARE 918 #undef FLAG_MODE_DECLARE
923 #undef FLAG_MODE_DEFINE 919 #undef FLAG_MODE_DEFINE
924 #undef FLAG_MODE_DEFINE_DEFAULTS 920 #undef FLAG_MODE_DEFINE_DEFAULTS
925 #undef FLAG_MODE_META 921 #undef FLAG_MODE_META
926 #undef FLAG_MODE_DEFINE_IMPLICATIONS 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS
927 923
928 #undef COMMA 924 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698