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

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

Issue 148343005: A64: Synchronize with r18147. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/extensions/statistics-extension.cc ('k') | src/heap.h » ('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)
199 DEFINE_implication(harmony_modules, harmony_scoping) 202 DEFINE_implication(harmony_modules, harmony_scoping)
200 DEFINE_implication(harmony_observation, harmony_collections) 203 DEFINE_implication(harmony_observation, harmony_collections)
201 204
202 // Flags for experimental implementation features. 205 // Flags for experimental implementation features.
203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 206 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 207 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
205 DEFINE_bool(compiled_keyed_dictionary_loads, true, 208 DEFINE_bool(compiled_keyed_dictionary_loads, true,
206 "use optimizing compiler to generate keyed dictionary load stubs") 209 "use optimizing compiler to generate keyed dictionary load stubs")
207 DEFINE_bool(clever_optimizations, true, 210 DEFINE_bool(clever_optimizations, true,
208 "Optimize object size, Array shift, DOM strings and string +") 211 "Optimize object size, Array shift, DOM strings and string +")
209 DEFINE_bool(pretenuring, true, "allocate objects in old space") 212 DEFINE_bool(pretenuring, true, "allocate objects in old space")
210 // 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
211 // support for specific allocation sites. 214 // support for specific allocation sites.
212 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") 215 DEFINE_bool(pretenuring_call_new, false, "pretenure call new")
213 DEFINE_bool(allocation_site_pretenuring, false, 216 DEFINE_bool(allocation_site_pretenuring, false,
214 "pretenure with allocation sites") 217 "pretenure with allocation sites")
218 DEFINE_bool(trace_pretenuring, false,
219 "trace pretenuring decisions of HAllocate instructions")
215 DEFINE_bool(track_fields, true, "track fields with only smi values") 220 DEFINE_bool(track_fields, true, "track fields with only smi values")
216 DEFINE_bool(track_double_fields, true, "track fields with double values") 221 DEFINE_bool(track_double_fields, true, "track fields with double values")
217 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") 222 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values")
218 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") 223 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields")
219 DEFINE_implication(track_double_fields, track_fields) 224 DEFINE_implication(track_double_fields, track_fields)
220 DEFINE_implication(track_heap_object_fields, track_fields) 225 DEFINE_implication(track_heap_object_fields, track_fields)
221 DEFINE_implication(track_computed_fields, track_fields) 226 DEFINE_implication(track_computed_fields, track_fields)
222 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") 227 DEFINE_bool(smi_binop, true, "support smi representation in binary operations")
223 228
224 // Flags for optimization types. 229 // Flags for optimization types.
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 DEFINE_bool(enable_unaligned_accesses, true, 405 DEFINE_bool(enable_unaligned_accesses, true,
401 "enable unaligned accesses for ARMv7 (ARM only)") 406 "enable unaligned accesses for ARMv7 (ARM only)")
402 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, 407 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT,
403 "enable use of d16-d31 registers on ARM - this requires VFP3") 408 "enable use of d16-d31 registers on ARM - this requires VFP3")
404 DEFINE_bool(enable_vldr_imm, false, 409 DEFINE_bool(enable_vldr_imm, false,
405 "enable use of constant pools for double immediate (ARM only)") 410 "enable use of constant pools for double immediate (ARM only)")
406 411
407 // bootstrapper.cc 412 // bootstrapper.cc
408 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") 413 DEFINE_string(expose_natives_as, NULL, "expose natives in global object")
409 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") 414 DEFINE_string(expose_debug_as, NULL, "expose debug in global object")
415 #ifdef ADDRESS_SANITIZER
416 DEFINE_bool(expose_free_buffer, false, "expose freeBuffer extension")
417 #endif
410 DEFINE_bool(expose_gc, false, "expose gc extension") 418 DEFINE_bool(expose_gc, false, "expose gc extension")
411 DEFINE_string(expose_gc_as, NULL, 419 DEFINE_string(expose_gc_as, NULL,
412 "expose gc extension under the specified name") 420 "expose gc extension under the specified name")
413 DEFINE_implication(expose_gc_as, expose_gc) 421 DEFINE_implication(expose_gc_as, expose_gc)
414 DEFINE_bool(expose_externalize_string, false, 422 DEFINE_bool(expose_externalize_string, false,
415 "expose externalize string extension") 423 "expose externalize string extension")
416 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") 424 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture")
417 DEFINE_bool(builtins_in_stack_traces, false, 425 DEFINE_bool(builtins_in_stack_traces, false,
418 "show built-in functions in stack traces") 426 "show built-in functions in stack traces")
419 DEFINE_bool(disable_native_files, false, "disable builtin natives files") 427 DEFINE_bool(disable_native_files, false, "disable builtin natives files")
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 #undef DEFINE_ALIAS_float 919 #undef DEFINE_ALIAS_float
912 #undef DEFINE_ALIAS_args 920 #undef DEFINE_ALIAS_args
913 921
914 #undef FLAG_MODE_DECLARE 922 #undef FLAG_MODE_DECLARE
915 #undef FLAG_MODE_DEFINE 923 #undef FLAG_MODE_DEFINE
916 #undef FLAG_MODE_DEFINE_DEFAULTS 924 #undef FLAG_MODE_DEFINE_DEFAULTS
917 #undef FLAG_MODE_META 925 #undef FLAG_MODE_META
918 #undef FLAG_MODE_DEFINE_IMPLICATIONS 926 #undef FLAG_MODE_DEFINE_IMPLICATIONS
919 927
920 #undef COMMA 928 #undef COMMA
OLDNEW
« no previous file with comments | « src/extensions/statistics-extension.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698