OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
602 "in kBytes (default is 2 MB)") | 602 "in kBytes (default is 2 MB)") |
603 DEFINE_BOOL(log_regs_modified, true, | 603 DEFINE_BOOL(log_regs_modified, true, |
604 "When logging register values, only print modified registers.") | 604 "When logging register values, only print modified registers.") |
605 DEFINE_BOOL(log_colour, true, "When logging, try to use coloured output.") | 605 DEFINE_BOOL(log_colour, true, "When logging, try to use coloured output.") |
606 DEFINE_BOOL(ignore_asm_unimplemented_break, false, | 606 DEFINE_BOOL(ignore_asm_unimplemented_break, false, |
607 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") | 607 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
608 DEFINE_BOOL(trace_sim_messages, false, | 608 DEFINE_BOOL(trace_sim_messages, false, |
609 "Trace simulator debug messages. Implied by --trace-sim.") | 609 "Trace simulator debug messages. Implied by --trace-sim.") |
610 | 610 |
611 // isolate.cc | 611 // isolate.cc |
| 612 DEFINE_BOOL(report_promise_reject, false, |
| 613 "send messages for rejected promises with no reject handler") |
612 DEFINE_BOOL(stack_trace_on_illegal, false, | 614 DEFINE_BOOL(stack_trace_on_illegal, false, |
613 "print stack trace when an illegal exception is thrown") | 615 "print stack trace when an illegal exception is thrown") |
614 DEFINE_BOOL(abort_on_uncaught_exception, false, | 616 DEFINE_BOOL(abort_on_uncaught_exception, false, |
615 "abort program (dump core) when an uncaught exception is thrown") | 617 "abort program (dump core) when an uncaught exception is thrown") |
616 DEFINE_BOOL(randomize_hashes, true, | 618 DEFINE_BOOL(randomize_hashes, true, |
617 "randomize hashes to avoid predictable hash collisions " | 619 "randomize hashes to avoid predictable hash collisions " |
618 "(with snapshots this option cannot override the baked-in seed)") | 620 "(with snapshots this option cannot override the baked-in seed)") |
619 DEFINE_INT(hash_seed, 0, | 621 DEFINE_INT(hash_seed, 0, |
620 "Fixed seed to use to hash property keys (0 means random)" | 622 "Fixed seed to use to hash property keys (0 means random)" |
621 "(with snapshots this option cannot override the baked-in seed)") | 623 "(with snapshots this option cannot override the baked-in seed)") |
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
932 #undef DEFINE_ALIAS_FLOAT | 934 #undef DEFINE_ALIAS_FLOAT |
933 #undef DEFINE_ALIAS_ARGS | 935 #undef DEFINE_ALIAS_ARGS |
934 | 936 |
935 #undef FLAG_MODE_DECLARE | 937 #undef FLAG_MODE_DECLARE |
936 #undef FLAG_MODE_DEFINE | 938 #undef FLAG_MODE_DEFINE |
937 #undef FLAG_MODE_DEFINE_DEFAULTS | 939 #undef FLAG_MODE_DEFINE_DEFAULTS |
938 #undef FLAG_MODE_META | 940 #undef FLAG_MODE_META |
939 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 941 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
940 | 942 |
941 #undef COMMA | 943 #undef COMMA |
OLD | NEW |