| OLD | NEW |
| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") | 213 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") |
| 214 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") |
| 215 DEFINE_bool(compiled_keyed_dictionary_loads, true, | 215 DEFINE_bool(compiled_keyed_dictionary_loads, true, |
| 216 "use optimizing compiler to generate keyed dictionary load stubs") | 216 "use optimizing compiler to generate keyed dictionary load stubs") |
| 217 DEFINE_bool(clever_optimizations, true, | 217 DEFINE_bool(clever_optimizations, true, |
| 218 "Optimize object size, Array shift, DOM strings and string +") | 218 "Optimize object size, Array shift, DOM strings and string +") |
| 219 DEFINE_bool(pretenuring, true, "allocate objects in old space") | 219 DEFINE_bool(pretenuring, true, "allocate objects in old space") |
| 220 // 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 |
| 221 // support for specific allocation sites. | 221 // support for specific allocation sites. |
| 222 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") | 222 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") |
| 223 DEFINE_bool(allocation_site_pretenuring, false, | 223 DEFINE_bool(allocation_site_pretenuring, true, |
| 224 "pretenure with allocation sites") | 224 "pretenure with allocation sites") |
| 225 DEFINE_bool(trace_pretenuring, false, | 225 DEFINE_bool(trace_pretenuring, false, |
| 226 "trace pretenuring decisions of HAllocate instructions") | 226 "trace pretenuring decisions of HAllocate instructions") |
| 227 DEFINE_bool(track_fields, true, "track fields with only smi values") | 227 DEFINE_bool(track_fields, true, "track fields with only smi values") |
| 228 DEFINE_bool(track_double_fields, true, "track fields with double values") | 228 DEFINE_bool(track_double_fields, true, "track fields with double values") |
| 229 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 229 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
| 230 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") | 230 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
| 231 DEFINE_implication(track_double_fields, track_fields) | 231 DEFINE_implication(track_double_fields, track_fields) |
| 232 DEFINE_implication(track_heap_object_fields, track_fields) | 232 DEFINE_implication(track_heap_object_fields, track_fields) |
| 233 DEFINE_implication(track_computed_fields, track_fields) | 233 DEFINE_implication(track_computed_fields, track_fields) |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 DEFINE_bool(block_concurrent_recompilation, false, | 342 DEFINE_bool(block_concurrent_recompilation, false, |
| 343 "block queued jobs until released") | 343 "block queued jobs until released") |
| 344 DEFINE_bool(concurrent_osr, false, | 344 DEFINE_bool(concurrent_osr, false, |
| 345 "concurrent on-stack replacement") | 345 "concurrent on-stack replacement") |
| 346 DEFINE_implication(concurrent_osr, concurrent_recompilation) | 346 DEFINE_implication(concurrent_osr, concurrent_recompilation) |
| 347 | 347 |
| 348 DEFINE_bool(omit_map_checks_for_leaf_maps, true, | 348 DEFINE_bool(omit_map_checks_for_leaf_maps, true, |
| 349 "do not emit check maps for constant values that have a leaf map, " | 349 "do not emit check maps for constant values that have a leaf map, " |
| 350 "deoptimize the optimized code if the layout of the maps changes.") | 350 "deoptimize the optimized code if the layout of the maps changes.") |
| 351 | 351 |
| 352 DEFINE_bool(new_string_add, true, "enable new string addition") | |
| 353 | |
| 354 // Profiler flags. | 352 // Profiler flags. |
| 355 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 353 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
| 356 // 0x1700 fits in the immediate field of an ARM instruction. | 354 // 0x1700 fits in the immediate field of an ARM instruction. |
| 357 DEFINE_int(interrupt_budget, 0x1700, | 355 DEFINE_int(interrupt_budget, 0x1700, |
| 358 "execution budget before interrupt is triggered") | 356 "execution budget before interrupt is triggered") |
| 359 DEFINE_int(type_info_threshold, 25, | 357 DEFINE_int(type_info_threshold, 25, |
| 360 "percentage of ICs that must have type info to allow optimization") | 358 "percentage of ICs that must have type info to allow optimization") |
| 361 DEFINE_int(self_opt_count, 130, "call count before self-optimization") | 359 DEFINE_int(self_opt_count, 130, "call count before self-optimization") |
| 362 | 360 |
| 363 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") | 361 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") |
| (...skipping 27 matching lines...) Expand all Loading... |
| 391 DEFINE_bool(enable_unaligned_accesses, true, | 389 DEFINE_bool(enable_unaligned_accesses, true, |
| 392 "enable unaligned accesses for ARMv7 (ARM only)") | 390 "enable unaligned accesses for ARMv7 (ARM only)") |
| 393 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 391 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
| 394 "enable use of d16-d31 registers on ARM - this requires VFP3") | 392 "enable use of d16-d31 registers on ARM - this requires VFP3") |
| 395 DEFINE_bool(enable_vldr_imm, false, | 393 DEFINE_bool(enable_vldr_imm, false, |
| 396 "enable use of constant pools for double immediate (ARM only)") | 394 "enable use of constant pools for double immediate (ARM only)") |
| 397 | 395 |
| 398 // bootstrapper.cc | 396 // bootstrapper.cc |
| 399 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") | 397 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") |
| 400 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") | 398 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") |
| 401 #ifdef ADDRESS_SANITIZER | |
| 402 DEFINE_bool(expose_free_buffer, false, "expose freeBuffer extension") | 399 DEFINE_bool(expose_free_buffer, false, "expose freeBuffer extension") |
| 403 #endif | |
| 404 DEFINE_bool(expose_gc, false, "expose gc extension") | 400 DEFINE_bool(expose_gc, false, "expose gc extension") |
| 405 DEFINE_string(expose_gc_as, NULL, | 401 DEFINE_string(expose_gc_as, NULL, |
| 406 "expose gc extension under the specified name") | 402 "expose gc extension under the specified name") |
| 407 DEFINE_implication(expose_gc_as, expose_gc) | 403 DEFINE_implication(expose_gc_as, expose_gc) |
| 408 DEFINE_bool(expose_externalize_string, false, | 404 DEFINE_bool(expose_externalize_string, false, |
| 409 "expose externalize string extension") | 405 "expose externalize string extension") |
| 410 DEFINE_bool(expose_trigger_failure, false, "expose trigger-failure extension") | 406 DEFINE_bool(expose_trigger_failure, false, "expose trigger-failure extension") |
| 411 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") | 407 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") |
| 412 DEFINE_bool(builtins_in_stack_traces, false, | 408 DEFINE_bool(builtins_in_stack_traces, false, |
| 413 "show built-in functions in stack traces") | 409 "show built-in functions in stack traces") |
| (...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 #undef DEFINE_ALIAS_float | 911 #undef DEFINE_ALIAS_float |
| 916 #undef DEFINE_ALIAS_args | 912 #undef DEFINE_ALIAS_args |
| 917 | 913 |
| 918 #undef FLAG_MODE_DECLARE | 914 #undef FLAG_MODE_DECLARE |
| 919 #undef FLAG_MODE_DEFINE | 915 #undef FLAG_MODE_DEFINE |
| 920 #undef FLAG_MODE_DEFINE_DEFAULTS | 916 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 921 #undef FLAG_MODE_META | 917 #undef FLAG_MODE_META |
| 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 918 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 923 | 919 |
| 924 #undef COMMA | 920 #undef COMMA |
| OLD | NEW |