| 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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. |
| 225 DEFINE_bool(optimize_for_size, false, | 230 DEFINE_bool(optimize_for_size, false, |
| 226 "Enables optimizations which favor memory size over execution " | 231 "Enables optimizations which favor memory size over execution " |
| 227 "speed.") | 232 "speed.") |
| 228 | 233 |
| 229 // Flags for data representation optimizations | 234 // Flags for data representation optimizations |
| 230 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 235 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 231 DEFINE_bool(string_slices, true, "use string slices") | 236 DEFINE_bool(string_slices, true, "use string slices") |
| 232 | 237 |
| 233 // Flags for Crankshaft. | 238 // Flags for Crankshaft. |
| 234 DEFINE_bool(crankshaft, true, "use crankshaft") | 239 DEFINE_bool(crankshaft, true, "use crankshaft") |
| 235 DEFINE_string(hydrogen_filter, "*", "optimization filter") | 240 DEFINE_string(hydrogen_filter, "*", "optimization filter") |
| 236 DEFINE_bool(use_range, true, "use hydrogen range analysis") | 241 DEFINE_bool(use_range, true, "use hydrogen range analysis") |
| 237 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") | 242 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") |
| 238 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") | 243 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") |
| 239 DEFINE_bool(use_inlining, true, "use function inlining") | 244 DEFINE_bool(use_inlining, true, "use function inlining") |
| 240 DEFINE_bool(use_escape_analysis, true, "use hydrogen escape analysis") | 245 DEFINE_bool(use_escape_analysis, false, "use hydrogen escape analysis") |
| 241 DEFINE_bool(use_allocation_folding, true, "use allocation folding") | 246 DEFINE_bool(use_allocation_folding, true, "use allocation folding") |
| 242 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") | 247 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") |
| 243 DEFINE_int(max_inlined_source_size, 600, | 248 DEFINE_int(max_inlined_source_size, 600, |
| 244 "maximum source size in bytes considered for a single inlining") | 249 "maximum source size in bytes considered for a single inlining") |
| 245 DEFINE_int(max_inlined_nodes, 196, | 250 DEFINE_int(max_inlined_nodes, 196, |
| 246 "maximum number of AST nodes considered for a single inlining") | 251 "maximum number of AST nodes considered for a single inlining") |
| 247 DEFINE_int(max_inlined_nodes_cumulative, 400, | 252 DEFINE_int(max_inlined_nodes_cumulative, 400, |
| 248 "maximum cumulative number of AST nodes considered for inlining") | 253 "maximum cumulative number of AST nodes considered for inlining") |
| 249 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 254 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
| 250 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") | 255 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 289 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| 285 DEFINE_bool(use_osr, true, "use on-stack replacement") | 290 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 286 DEFINE_bool(array_bounds_checks_elimination, true, | 291 DEFINE_bool(array_bounds_checks_elimination, true, |
| 287 "perform array bounds checks elimination") | 292 "perform array bounds checks elimination") |
| 288 DEFINE_bool(array_bounds_checks_hoisting, false, | 293 DEFINE_bool(array_bounds_checks_hoisting, false, |
| 289 "perform array bounds checks hoisting") | 294 "perform array bounds checks hoisting") |
| 290 DEFINE_bool(array_index_dehoisting, true, | 295 DEFINE_bool(array_index_dehoisting, true, |
| 291 "perform array index dehoisting") | 296 "perform array index dehoisting") |
| 292 DEFINE_bool(analyze_environment_liveness, true, | 297 DEFINE_bool(analyze_environment_liveness, true, |
| 293 "analyze liveness of environment slots and zap dead values") | 298 "analyze liveness of environment slots and zap dead values") |
| 294 DEFINE_bool(load_elimination, false, "use load elimination") | 299 DEFINE_bool(load_elimination, true, "use load elimination") |
| 295 DEFINE_bool(check_elimination, false, "use check elimination") | 300 DEFINE_bool(check_elimination, false, "use check elimination") |
| 296 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 301 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 297 DEFINE_bool(fold_constants, true, "use constant folding") | 302 DEFINE_bool(fold_constants, true, "use constant folding") |
| 298 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 303 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 299 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") | 304 DEFINE_bool(unreachable_code_elimination, true, "eliminate unreachable code") |
| 300 DEFINE_bool(track_allocation_sites, true, | 305 DEFINE_bool(track_allocation_sites, true, |
| 301 "Use allocation site info to reduce transitions") | 306 "Use allocation site info to reduce transitions") |
| 302 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 307 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 303 DEFINE_int(stress_runs, 0, "number of stress runs") | 308 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 304 DEFINE_bool(optimize_closures, true, "optimize closures") | 309 DEFINE_bool(optimize_closures, true, "optimize closures") |
| (...skipping 28 matching lines...) Expand all Loading... |
| 333 DEFINE_bool(block_concurrent_recompilation, false, | 338 DEFINE_bool(block_concurrent_recompilation, false, |
| 334 "block queued jobs until released") | 339 "block queued jobs until released") |
| 335 DEFINE_bool(concurrent_osr, false, | 340 DEFINE_bool(concurrent_osr, false, |
| 336 "concurrent on-stack replacement") | 341 "concurrent on-stack replacement") |
| 337 DEFINE_implication(concurrent_osr, concurrent_recompilation) | 342 DEFINE_implication(concurrent_osr, concurrent_recompilation) |
| 338 | 343 |
| 339 DEFINE_bool(omit_map_checks_for_leaf_maps, true, | 344 DEFINE_bool(omit_map_checks_for_leaf_maps, true, |
| 340 "do not emit check maps for constant values that have a leaf map, " | 345 "do not emit check maps for constant values that have a leaf map, " |
| 341 "deoptimize the optimized code if the layout of the maps changes.") | 346 "deoptimize the optimized code if the layout of the maps changes.") |
| 342 | 347 |
| 343 DEFINE_bool(new_string_add, false, "enable new string addition") | 348 DEFINE_bool(new_string_add, true, "enable new string addition") |
| 344 | 349 |
| 345 // Experimental profiler changes. | 350 // Profiler flags. |
| 346 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") | |
| 347 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | |
| 348 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") | 351 DEFINE_int(frame_count, 1, "number of stack frames inspected by the profiler") |
| 349 DEFINE_bool(self_optimization, false, | |
| 350 "primitive functions trigger their own optimization") | |
| 351 DEFINE_bool(direct_self_opt, false, | |
| 352 "call recompile stub directly when self-optimizing") | |
| 353 DEFINE_bool(retry_self_opt, false, "re-try self-optimization if it failed") | |
| 354 DEFINE_bool(interrupt_at_exit, false, | |
| 355 "insert an interrupt check at function exit") | |
| 356 DEFINE_bool(weighted_back_edges, false, | |
| 357 "weight back edges by jump distance for interrupt triggering") | |
| 358 // 0x1700 fits in the immediate field of an ARM instruction. | 352 // 0x1700 fits in the immediate field of an ARM instruction. |
| 359 DEFINE_int(interrupt_budget, 0x1700, | 353 DEFINE_int(interrupt_budget, 0x1700, |
| 360 "execution budget before interrupt is triggered") | 354 "execution budget before interrupt is triggered") |
| 361 DEFINE_int(type_info_threshold, 25, | 355 DEFINE_int(type_info_threshold, 25, |
| 362 "percentage of ICs that must have type info to allow optimization") | 356 "percentage of ICs that must have type info to allow optimization") |
| 363 DEFINE_int(self_opt_count, 130, "call count before self-optimization") | 357 DEFINE_int(self_opt_count, 130, "call count before self-optimization") |
| 364 | 358 |
| 365 DEFINE_implication(experimental_profiler, watch_ic_patching) | |
| 366 DEFINE_implication(experimental_profiler, self_optimization) | |
| 367 // Not implying direct_self_opt here because it seems to be a bad idea. | |
| 368 DEFINE_implication(experimental_profiler, retry_self_opt) | |
| 369 DEFINE_implication(experimental_profiler, interrupt_at_exit) | |
| 370 DEFINE_implication(experimental_profiler, weighted_back_edges) | |
| 371 | |
| 372 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") | 359 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") |
| 373 DEFINE_implication(trace_opt_verbose, trace_opt) | 360 DEFINE_implication(trace_opt_verbose, trace_opt) |
| 374 | 361 |
| 375 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 362 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
| 376 DEFINE_bool(debug_code, false, | 363 DEFINE_bool(debug_code, false, |
| 377 "generate extra code (assertions) for debugging") | 364 "generate extra code (assertions) for debugging") |
| 378 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 365 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
| 379 DEFINE_bool(enable_sse2, true, | 366 DEFINE_bool(enable_sse2, true, |
| 380 "enable use of SSE2 instructions if available") | 367 "enable use of SSE2 instructions if available") |
| 381 DEFINE_bool(enable_sse3, true, | 368 DEFINE_bool(enable_sse3, true, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 400 DEFINE_bool(enable_unaligned_accesses, true, | 387 DEFINE_bool(enable_unaligned_accesses, true, |
| 401 "enable unaligned accesses for ARMv7 (ARM only)") | 388 "enable unaligned accesses for ARMv7 (ARM only)") |
| 402 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 389 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
| 403 "enable use of d16-d31 registers on ARM - this requires VFP3") | 390 "enable use of d16-d31 registers on ARM - this requires VFP3") |
| 404 DEFINE_bool(enable_vldr_imm, false, | 391 DEFINE_bool(enable_vldr_imm, false, |
| 405 "enable use of constant pools for double immediate (ARM only)") | 392 "enable use of constant pools for double immediate (ARM only)") |
| 406 | 393 |
| 407 // bootstrapper.cc | 394 // bootstrapper.cc |
| 408 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") | 395 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") |
| 409 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") | 396 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") |
| 397 #ifdef ADDRESS_SANITIZER |
| 398 DEFINE_bool(expose_free_buffer, false, "expose freeBuffer extension") |
| 399 #endif |
| 410 DEFINE_bool(expose_gc, false, "expose gc extension") | 400 DEFINE_bool(expose_gc, false, "expose gc extension") |
| 411 DEFINE_string(expose_gc_as, NULL, | 401 DEFINE_string(expose_gc_as, NULL, |
| 412 "expose gc extension under the specified name") | 402 "expose gc extension under the specified name") |
| 413 DEFINE_implication(expose_gc_as, expose_gc) | 403 DEFINE_implication(expose_gc_as, expose_gc) |
| 414 DEFINE_bool(expose_externalize_string, false, | 404 DEFINE_bool(expose_externalize_string, false, |
| 415 "expose externalize string extension") | 405 "expose externalize string extension") |
| 406 DEFINE_bool(expose_trigger_failure, false, "expose trigger-failure extension") |
| 416 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") |
| 417 DEFINE_bool(builtins_in_stack_traces, false, | 408 DEFINE_bool(builtins_in_stack_traces, false, |
| 418 "show built-in functions in stack traces") | 409 "show built-in functions in stack traces") |
| 419 DEFINE_bool(disable_native_files, false, "disable builtin natives files") | 410 DEFINE_bool(disable_native_files, false, "disable builtin natives files") |
| 420 | 411 |
| 421 // builtins-ia32.cc | 412 // builtins-ia32.cc |
| 422 DEFINE_bool(inline_new, true, "use fast inline allocation") | 413 DEFINE_bool(inline_new, true, "use fast inline allocation") |
| 423 | 414 |
| 424 // checks.cc | 415 // checks.cc |
| 425 DEFINE_bool(stack_trace_on_abort, true, | 416 DEFINE_bool(stack_trace_on_abort, true, |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 "log positions of (de)serialized objects in the snapshot.") | 771 "log positions of (de)serialized objects in the snapshot.") |
| 781 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 772 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
| 782 DEFINE_bool(prof, false, | 773 DEFINE_bool(prof, false, |
| 783 "Log statistical profiling information (implies --log-code).") | 774 "Log statistical profiling information (implies --log-code).") |
| 784 DEFINE_bool(prof_browser_mode, true, | 775 DEFINE_bool(prof_browser_mode, true, |
| 785 "Used with --prof, turns on browser-compatible mode for profiling.") | 776 "Used with --prof, turns on browser-compatible mode for profiling.") |
| 786 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 777 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
| 787 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 778 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
| 788 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") | 779 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") |
| 789 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 780 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
| 781 DEFINE_bool(perf_basic_prof, false, |
| 782 "Enable perf linux profiler (basic support).") |
| 783 DEFINE_bool(perf_jit_prof, false, |
| 784 "Enable perf linux profiler (experimental annotate support).") |
| 790 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 785 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
| 791 "Specify the name of the file for fake gc mmap used in ll_prof") | 786 "Specify the name of the file for fake gc mmap used in ll_prof") |
| 792 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 787 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
| 793 DEFINE_bool(log_timer_events, false, | 788 DEFINE_bool(log_timer_events, false, |
| 794 "Time events including external callbacks.") | 789 "Time events including external callbacks.") |
| 795 DEFINE_implication(log_timer_events, log_internal_timer_events) | 790 DEFINE_implication(log_timer_events, log_internal_timer_events) |
| 796 DEFINE_implication(log_internal_timer_events, prof) | 791 DEFINE_implication(log_internal_timer_events, prof) |
| 797 | 792 |
| 798 DEFINE_bool(redirect_code_traces, false, | 793 DEFINE_bool(redirect_code_traces, false, |
| 799 "output deopt information and disassembly into file " | 794 "output deopt information and disassembly into file " |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 888 #undef DEFINE_ALIAS_float | 883 #undef DEFINE_ALIAS_float |
| 889 #undef DEFINE_ALIAS_args | 884 #undef DEFINE_ALIAS_args |
| 890 | 885 |
| 891 #undef FLAG_MODE_DECLARE | 886 #undef FLAG_MODE_DECLARE |
| 892 #undef FLAG_MODE_DEFINE | 887 #undef FLAG_MODE_DEFINE |
| 893 #undef FLAG_MODE_DEFINE_DEFAULTS | 888 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 894 #undef FLAG_MODE_META | 889 #undef FLAG_MODE_META |
| 895 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 890 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 896 | 891 |
| 897 #undef COMMA | 892 #undef COMMA |
| OLD | NEW |