| 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 DEFINE_bool(trace_pretenuring_statistics, false, | 227 DEFINE_bool(trace_pretenuring_statistics, false, |
| 228 "trace allocation site pretenuring statistics") | 228 "trace allocation site pretenuring statistics") |
| 229 DEFINE_bool(track_fields, true, "track fields with only smi values") | 229 DEFINE_bool(track_fields, true, "track fields with only smi values") |
| 230 DEFINE_bool(track_double_fields, true, "track fields with double values") | 230 DEFINE_bool(track_double_fields, true, "track fields with double values") |
| 231 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") | 231 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") |
| 232 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") | 232 DEFINE_bool(track_computed_fields, true, "track computed boilerplate fields") |
| 233 DEFINE_implication(track_double_fields, track_fields) | 233 DEFINE_implication(track_double_fields, track_fields) |
| 234 DEFINE_implication(track_heap_object_fields, track_fields) | 234 DEFINE_implication(track_heap_object_fields, track_fields) |
| 235 DEFINE_implication(track_computed_fields, track_fields) | 235 DEFINE_implication(track_computed_fields, track_fields) |
| 236 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") | 236 DEFINE_bool(smi_binop, true, "support smi representation in binary operations") |
| 237 DEFINE_bool(smi_x64_store_opt, false, "optimized stores of smi on x64") | |
| 238 | 237 |
| 239 // Flags for optimization types. | 238 // Flags for optimization types. |
| 240 DEFINE_bool(optimize_for_size, false, | 239 DEFINE_bool(optimize_for_size, false, |
| 241 "Enables optimizations which favor memory size over execution " | 240 "Enables optimizations which favor memory size over execution " |
| 242 "speed.") | 241 "speed.") |
| 243 | 242 |
| 244 // Flags for data representation optimizations | 243 // Flags for data representation optimizations |
| 245 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 244 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 246 DEFINE_bool(string_slices, true, "use string slices") | 245 DEFINE_bool(string_slices, true, "use string slices") |
| 247 | 246 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 "expose externalize string extension") | 408 "expose externalize string extension") |
| 410 DEFINE_bool(expose_trigger_failure, false, "expose trigger-failure extension") | 409 DEFINE_bool(expose_trigger_failure, false, "expose trigger-failure extension") |
| 411 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") | 410 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") |
| 412 DEFINE_bool(builtins_in_stack_traces, false, | 411 DEFINE_bool(builtins_in_stack_traces, false, |
| 413 "show built-in functions in stack traces") | 412 "show built-in functions in stack traces") |
| 414 DEFINE_bool(disable_native_files, false, "disable builtin natives files") | 413 DEFINE_bool(disable_native_files, false, "disable builtin natives files") |
| 415 | 414 |
| 416 // builtins-ia32.cc | 415 // builtins-ia32.cc |
| 417 DEFINE_bool(inline_new, true, "use fast inline allocation") | 416 DEFINE_bool(inline_new, true, "use fast inline allocation") |
| 418 | 417 |
| 419 // checks.cc | |
| 420 DEFINE_bool(stack_trace_on_abort, true, | |
| 421 "print a stack trace if an assertion failure occurs") | |
| 422 | |
| 423 // codegen-ia32.cc / codegen-arm.cc | 418 // codegen-ia32.cc / codegen-arm.cc |
| 424 DEFINE_bool(trace_codegen, false, | 419 DEFINE_bool(trace_codegen, false, |
| 425 "print name of functions for which code is generated") | 420 "print name of functions for which code is generated") |
| 426 DEFINE_bool(trace, false, "trace function calls") | 421 DEFINE_bool(trace, false, "trace function calls") |
| 427 DEFINE_bool(mask_constants_with_cookie, true, | 422 DEFINE_bool(mask_constants_with_cookie, true, |
| 428 "use random jit cookie to mask large constants") | 423 "use random jit cookie to mask large constants") |
| 429 | 424 |
| 430 // codegen.cc | 425 // codegen.cc |
| 431 DEFINE_bool(lazy, true, "use lazy compilation") | 426 DEFINE_bool(lazy, true, "use lazy compilation") |
| 432 DEFINE_bool(trace_opt, false, "trace lazy optimization") | 427 DEFINE_bool(trace_opt, false, "trace lazy optimization") |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 DEFINE_bool(log_regs_modified, true, | 595 DEFINE_bool(log_regs_modified, true, |
| 601 "When logging register values, only print modified registers.") | 596 "When logging register values, only print modified registers.") |
| 602 DEFINE_bool(log_colour, true, | 597 DEFINE_bool(log_colour, true, |
| 603 "When logging, try to use coloured output.") | 598 "When logging, try to use coloured output.") |
| 604 DEFINE_bool(ignore_asm_unimplemented_break, false, | 599 DEFINE_bool(ignore_asm_unimplemented_break, false, |
| 605 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") | 600 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
| 606 DEFINE_bool(trace_sim_messages, false, | 601 DEFINE_bool(trace_sim_messages, false, |
| 607 "Trace simulator debug messages. Implied by --trace-sim.") | 602 "Trace simulator debug messages. Implied by --trace-sim.") |
| 608 | 603 |
| 609 // isolate.cc | 604 // isolate.cc |
| 605 DEFINE_bool(stack_trace_on_illegal, false, |
| 606 "print stack trace when an illegal exception is thrown") |
| 610 DEFINE_bool(abort_on_uncaught_exception, false, | 607 DEFINE_bool(abort_on_uncaught_exception, false, |
| 611 "abort program (dump core) when an uncaught exception is thrown") | 608 "abort program (dump core) when an uncaught exception is thrown") |
| 612 DEFINE_bool(trace_exception, false, | |
| 613 "print stack trace when throwing exceptions") | |
| 614 DEFINE_bool(randomize_hashes, true, | 609 DEFINE_bool(randomize_hashes, true, |
| 615 "randomize hashes to avoid predictable hash collisions " | 610 "randomize hashes to avoid predictable hash collisions " |
| 616 "(with snapshots this option cannot override the baked-in seed)") | 611 "(with snapshots this option cannot override the baked-in seed)") |
| 617 DEFINE_int(hash_seed, 0, | 612 DEFINE_int(hash_seed, 0, |
| 618 "Fixed seed to use to hash property keys (0 means random)" | 613 "Fixed seed to use to hash property keys (0 means random)" |
| 619 "(with snapshots this option cannot override the baked-in seed)") | 614 "(with snapshots this option cannot override the baked-in seed)") |
| 620 | 615 |
| 621 // snapshot-common.cc | 616 // snapshot-common.cc |
| 622 DEFINE_bool(profile_deserialization, false, | 617 DEFINE_bool(profile_deserialization, false, |
| 623 "Print the time it takes to deserialize the snapshot.") | 618 "Print the time it takes to deserialize the snapshot.") |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 915 #undef DEFINE_ALIAS_float | 910 #undef DEFINE_ALIAS_float |
| 916 #undef DEFINE_ALIAS_args | 911 #undef DEFINE_ALIAS_args |
| 917 | 912 |
| 918 #undef FLAG_MODE_DECLARE | 913 #undef FLAG_MODE_DECLARE |
| 919 #undef FLAG_MODE_DEFINE | 914 #undef FLAG_MODE_DEFINE |
| 920 #undef FLAG_MODE_DEFINE_DEFAULTS | 915 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 921 #undef FLAG_MODE_META | 916 #undef FLAG_MODE_META |
| 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 917 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 923 | 918 |
| 924 #undef COMMA | 919 #undef COMMA |
| OLD | NEW |