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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ | 721 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ |
722 defined(V8_TARGET_ARCH_PPC64) | 722 defined(V8_TARGET_ARCH_PPC64) |
723 DEFINE_INT(sim_stack_alignment, 16, | 723 DEFINE_INT(sim_stack_alignment, 16, |
724 "Stack alignment in bytes in simulator. This must be a power of two " | 724 "Stack alignment in bytes in simulator. This must be a power of two " |
725 "and it must be at least 16. 16 is default.") | 725 "and it must be at least 16. 16 is default.") |
726 #else | 726 #else |
727 DEFINE_INT(sim_stack_alignment, 8, | 727 DEFINE_INT(sim_stack_alignment, 8, |
728 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 728 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
729 #endif | 729 #endif |
730 DEFINE_INT(sim_stack_size, 2 * MB / KB, | 730 DEFINE_INT(sim_stack_size, 2 * MB / KB, |
731 "Stack size of the ARM64 and MIPS64 simulator " | 731 "Stack size of the ARM64, MIPS64 and PPC64 simulator " |
732 "in kBytes (default is 2 MB)") | 732 "in kBytes (default is 2 MB)") |
733 DEFINE_BOOL(log_regs_modified, true, | 733 DEFINE_BOOL(log_regs_modified, true, |
734 "When logging register values, only print modified registers.") | 734 "When logging register values, only print modified registers.") |
735 DEFINE_BOOL(log_colour, true, "When logging, try to use coloured output.") | 735 DEFINE_BOOL(log_colour, true, "When logging, try to use coloured output.") |
736 DEFINE_BOOL(ignore_asm_unimplemented_break, false, | 736 DEFINE_BOOL(ignore_asm_unimplemented_break, false, |
737 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") | 737 "Don't break for ASM_UNIMPLEMENTED_BREAK macros.") |
738 DEFINE_BOOL(trace_sim_messages, false, | 738 DEFINE_BOOL(trace_sim_messages, false, |
739 "Trace simulator debug messages. Implied by --trace-sim.") | 739 "Trace simulator debug messages. Implied by --trace-sim.") |
740 | 740 |
741 // isolate.cc | 741 // isolate.cc |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 #undef DEFINE_ALIAS_FLOAT | 1069 #undef DEFINE_ALIAS_FLOAT |
1070 #undef DEFINE_ALIAS_ARGS | 1070 #undef DEFINE_ALIAS_ARGS |
1071 | 1071 |
1072 #undef FLAG_MODE_DECLARE | 1072 #undef FLAG_MODE_DECLARE |
1073 #undef FLAG_MODE_DEFINE | 1073 #undef FLAG_MODE_DEFINE |
1074 #undef FLAG_MODE_DEFINE_DEFAULTS | 1074 #undef FLAG_MODE_DEFINE_DEFAULTS |
1075 #undef FLAG_MODE_META | 1075 #undef FLAG_MODE_META |
1076 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1076 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1077 | 1077 |
1078 #undef COMMA | 1078 #undef COMMA |
OLD | NEW |