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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
369 DEFINE_BOOL(enable_movw_movt, false, | 369 DEFINE_BOOL(enable_movw_movt, false, |
370 "enable loading 32-bit constant by means of movw/movt " | 370 "enable loading 32-bit constant by means of movw/movt " |
371 "instruction pairs (ARM only)") | 371 "instruction pairs (ARM only)") |
372 DEFINE_BOOL(enable_unaligned_accesses, true, | 372 DEFINE_BOOL(enable_unaligned_accesses, true, |
373 "enable unaligned accesses for ARMv7 (ARM only)") | 373 "enable unaligned accesses for ARMv7 (ARM only)") |
374 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 374 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
375 "enable use of d16-d31 registers on ARM - this requires VFP3") | 375 "enable use of d16-d31 registers on ARM - this requires VFP3") |
376 DEFINE_BOOL(enable_vldr_imm, false, | 376 DEFINE_BOOL(enable_vldr_imm, false, |
377 "enable use of constant pools for double immediate (ARM only)") | 377 "enable use of constant pools for double immediate (ARM only)") |
378 DEFINE_BOOL(force_long_branches, false, | 378 DEFINE_BOOL(force_long_branches, false, |
379 "force all emitted branches to be in long mode (MIPS only)") | 379 "force all emitted branches to be in long mode (MIPS/PPC only)") |
380 | 380 |
381 // cpu-arm64.cc | 381 // cpu-arm64.cc |
382 DEFINE_BOOL(enable_always_align_csp, true, | 382 DEFINE_BOOL(enable_always_align_csp, true, |
383 "enable alignment of csp to 16 bytes on platforms which prefer " | 383 "enable alignment of csp to 16 bytes on platforms which prefer " |
384 "the register to always be aligned (ARM64 only)") | 384 "the register to always be aligned (ARM64 only)") |
385 | 385 |
386 // bootstrapper.cc | 386 // bootstrapper.cc |
387 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 387 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
388 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 388 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") |
389 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 389 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
565 | 565 |
566 // objects.cc | 566 // objects.cc |
567 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") | 567 DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing") |
568 | 568 |
569 // parser.cc | 569 // parser.cc |
570 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 570 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") |
571 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 571 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
572 | 572 |
573 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 573 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
574 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 574 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
575 DEFINE_BOOL(trace_sim_stubs, false, "Trace simulator execution w/ stub markers") | |
danno
2014/07/29 13:24:08
This looks like new functionality not related to t
andrew_low
2014/07/30 13:27:05
Acknowledged.
| |
575 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 576 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") |
576 DEFINE_BOOL(check_icache, false, | 577 DEFINE_BOOL(check_icache, false, |
577 "Check icache flushes in ARM and MIPS simulator") | 578 "Check icache flushes in ARM and MIPS simulator") |
578 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") | 579 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") |
579 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) | 580 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ |
581 defined(V8_TARGET_ARCH_PPC64) | |
580 DEFINE_INT(sim_stack_alignment, 16, | 582 DEFINE_INT(sim_stack_alignment, 16, |
581 "Stack alignment in bytes in simulator. This must be a power of two " | 583 "Stack alignment in bytes in simulator. This must be a power of two " |
582 "and it must be at least 16. 16 is default.") | 584 "and it must be at least 16. 16 is default.") |
583 #else | 585 #else |
584 DEFINE_INT(sim_stack_alignment, 8, | 586 DEFINE_INT(sim_stack_alignment, 8, |
585 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 587 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
586 #endif | 588 #endif |
587 DEFINE_INT(sim_stack_size, 2 * MB / KB, | 589 DEFINE_INT(sim_stack_size, 2 * MB / KB, |
588 "Stack size of the ARM64 and MIPS64 simulator " | 590 "Stack size of the ARM64 and MIPS64 simulator " |
589 "in kBytes (default is 2 MB)") | 591 "in kBytes (default is 2 MB)") |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
914 #undef DEFINE_ALIAS_FLOAT | 916 #undef DEFINE_ALIAS_FLOAT |
915 #undef DEFINE_ALIAS_ARGS | 917 #undef DEFINE_ALIAS_ARGS |
916 | 918 |
917 #undef FLAG_MODE_DECLARE | 919 #undef FLAG_MODE_DECLARE |
918 #undef FLAG_MODE_DEFINE | 920 #undef FLAG_MODE_DEFINE |
919 #undef FLAG_MODE_DEFINE_DEFAULTS | 921 #undef FLAG_MODE_DEFINE_DEFAULTS |
920 #undef FLAG_MODE_META | 922 #undef FLAG_MODE_META |
921 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 923 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
922 | 924 |
923 #undef COMMA | 925 #undef COMMA |
OLD | NEW |