| 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 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 DEFINE_BOOL(enable_movw_movt, false, | 375 DEFINE_BOOL(enable_movw_movt, false, |
| 376 "enable loading 32-bit constant by means of movw/movt " | 376 "enable loading 32-bit constant by means of movw/movt " |
| 377 "instruction pairs (ARM only)") | 377 "instruction pairs (ARM only)") |
| 378 DEFINE_BOOL(enable_unaligned_accesses, true, | 378 DEFINE_BOOL(enable_unaligned_accesses, true, |
| 379 "enable unaligned accesses for ARMv7 (ARM only)") | 379 "enable unaligned accesses for ARMv7 (ARM only)") |
| 380 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 380 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
| 381 "enable use of d16-d31 registers on ARM - this requires VFP3") | 381 "enable use of d16-d31 registers on ARM - this requires VFP3") |
| 382 DEFINE_BOOL(enable_vldr_imm, false, | 382 DEFINE_BOOL(enable_vldr_imm, false, |
| 383 "enable use of constant pools for double immediate (ARM only)") | 383 "enable use of constant pools for double immediate (ARM only)") |
| 384 DEFINE_BOOL(force_long_branches, false, | 384 DEFINE_BOOL(force_long_branches, false, |
| 385 "force all emitted branches to be in long mode (MIPS only)") | 385 "force all emitted branches to be in long mode (MIPS/PPC only)") |
| 386 | 386 |
| 387 // cpu-arm64.cc | 387 // cpu-arm64.cc |
| 388 DEFINE_BOOL(enable_always_align_csp, true, | 388 DEFINE_BOOL(enable_always_align_csp, true, |
| 389 "enable alignment of csp to 16 bytes on platforms which prefer " | 389 "enable alignment of csp to 16 bytes on platforms which prefer " |
| 390 "the register to always be aligned (ARM64 only)") | 390 "the register to always be aligned (ARM64 only)") |
| 391 | 391 |
| 392 // bootstrapper.cc | 392 // bootstrapper.cc |
| 393 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 393 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
| 394 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 394 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") |
| 395 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 395 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 // parser.cc | 575 // parser.cc |
| 576 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 576 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
| 577 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 577 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
| 578 | 578 |
| 579 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 579 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
| 580 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 580 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
| 581 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 581 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") |
| 582 DEFINE_BOOL(check_icache, false, | 582 DEFINE_BOOL(check_icache, false, |
| 583 "Check icache flushes in ARM and MIPS simulator") | 583 "Check icache flushes in ARM and MIPS simulator") |
| 584 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") | 584 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 585 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) | 585 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ |
| 586 defined(V8_TARGET_ARCH_PPC64) |
| 586 DEFINE_INT(sim_stack_alignment, 16, | 587 DEFINE_INT(sim_stack_alignment, 16, |
| 587 "Stack alignment in bytes in simulator. This must be a power of two " | 588 "Stack alignment in bytes in simulator. This must be a power of two " |
| 588 "and it must be at least 16. 16 is default.") | 589 "and it must be at least 16. 16 is default.") |
| 589 #else | 590 #else |
| 590 DEFINE_INT(sim_stack_alignment, 8, | 591 DEFINE_INT(sim_stack_alignment, 8, |
| 591 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 592 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| 592 #endif | 593 #endif |
| 593 DEFINE_INT(sim_stack_size, 2 * MB / KB, | 594 DEFINE_INT(sim_stack_size, 2 * MB / KB, |
| 594 "Stack size of the ARM64 and MIPS64 simulator " | 595 "Stack size of the ARM64 and MIPS64 simulator " |
| 595 "in kBytes (default is 2 MB)") | 596 "in kBytes (default is 2 MB)") |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 #undef DEFINE_ALIAS_FLOAT | 925 #undef DEFINE_ALIAS_FLOAT |
| 925 #undef DEFINE_ALIAS_ARGS | 926 #undef DEFINE_ALIAS_ARGS |
| 926 | 927 |
| 927 #undef FLAG_MODE_DECLARE | 928 #undef FLAG_MODE_DECLARE |
| 928 #undef FLAG_MODE_DEFINE | 929 #undef FLAG_MODE_DEFINE |
| 929 #undef FLAG_MODE_DEFINE_DEFAULTS | 930 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 930 #undef FLAG_MODE_META | 931 #undef FLAG_MODE_META |
| 931 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 932 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 932 | 933 |
| 933 #undef COMMA | 934 #undef COMMA |
| OLD | NEW |