| 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 441 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 452 DEFINE_BOOL(enable_movw_movt, false, | 452 DEFINE_BOOL(enable_movw_movt, false, | 
| 453             "enable loading 32-bit constant by means of movw/movt " | 453             "enable loading 32-bit constant by means of movw/movt " | 
| 454             "instruction pairs (ARM only)") | 454             "instruction pairs (ARM only)") | 
| 455 DEFINE_BOOL(enable_unaligned_accesses, true, | 455 DEFINE_BOOL(enable_unaligned_accesses, true, | 
| 456             "enable unaligned accesses for ARMv7 (ARM only)") | 456             "enable unaligned accesses for ARMv7 (ARM only)") | 
| 457 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 457 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 
| 458             "enable use of d16-d31 registers on ARM - this requires VFP3") | 458             "enable use of d16-d31 registers on ARM - this requires VFP3") | 
| 459 DEFINE_BOOL(enable_vldr_imm, false, | 459 DEFINE_BOOL(enable_vldr_imm, false, | 
| 460             "enable use of constant pools for double immediate (ARM only)") | 460             "enable use of constant pools for double immediate (ARM only)") | 
| 461 DEFINE_BOOL(force_long_branches, false, | 461 DEFINE_BOOL(force_long_branches, false, | 
| 462             "force all emitted branches to be in long mode (MIPS only)") | 462             "force all emitted branches to be in long mode (MIPS/PPC only)") | 
| 463 | 463 | 
| 464 // bootstrapper.cc | 464 // bootstrapper.cc | 
| 465 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 465 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 
| 466 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 466 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 
| 467 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 467 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 
| 468 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 468 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 
| 469 DEFINE_STRING(expose_gc_as, NULL, | 469 DEFINE_STRING(expose_gc_as, NULL, | 
| 470               "expose gc extension under the specified name") | 470               "expose gc extension under the specified name") | 
| 471 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 471 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 
| 472 DEFINE_BOOL(expose_externalize_string, false, | 472 DEFINE_BOOL(expose_externalize_string, false, | 
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 659 // parser.cc | 659 // parser.cc | 
| 660 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 660 DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax") | 
| 661 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 661 DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") | 
| 662 | 662 | 
| 663 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 663 // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc | 
| 664 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 664 DEFINE_BOOL(trace_sim, false, "Trace simulator execution") | 
| 665 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 665 DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") | 
| 666 DEFINE_BOOL(check_icache, false, | 666 DEFINE_BOOL(check_icache, false, | 
| 667             "Check icache flushes in ARM and MIPS simulator") | 667             "Check icache flushes in ARM and MIPS simulator") | 
| 668 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") | 668 DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions") | 
| 669 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) | 669 #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \ | 
|  | 670     defined(V8_TARGET_ARCH_PPC64) | 
| 670 DEFINE_INT(sim_stack_alignment, 16, | 671 DEFINE_INT(sim_stack_alignment, 16, | 
| 671            "Stack alignment in bytes in simulator. This must be a power of two " | 672            "Stack alignment in bytes in simulator. This must be a power of two " | 
| 672            "and it must be at least 16. 16 is default.") | 673            "and it must be at least 16. 16 is default.") | 
| 673 #else | 674 #else | 
| 674 DEFINE_INT(sim_stack_alignment, 8, | 675 DEFINE_INT(sim_stack_alignment, 8, | 
| 675            "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 676            "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 
| 676 #endif | 677 #endif | 
| 677 DEFINE_INT(sim_stack_size, 2 * MB / KB, | 678 DEFINE_INT(sim_stack_size, 2 * MB / KB, | 
| 678            "Stack size of the ARM64 and MIPS64 simulator " | 679            "Stack size of the ARM64 and MIPS64 simulator " | 
| 679            "in kBytes (default is 2 MB)") | 680            "in kBytes (default is 2 MB)") | 
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1002 #undef DEFINE_ALIAS_FLOAT | 1003 #undef DEFINE_ALIAS_FLOAT | 
| 1003 #undef DEFINE_ALIAS_ARGS | 1004 #undef DEFINE_ALIAS_ARGS | 
| 1004 | 1005 | 
| 1005 #undef FLAG_MODE_DECLARE | 1006 #undef FLAG_MODE_DECLARE | 
| 1006 #undef FLAG_MODE_DEFINE | 1007 #undef FLAG_MODE_DEFINE | 
| 1007 #undef FLAG_MODE_DEFINE_DEFAULTS | 1008 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 1008 #undef FLAG_MODE_META | 1009 #undef FLAG_MODE_META | 
| 1009 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1010 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| 1010 | 1011 | 
| 1011 #undef COMMA | 1012 #undef COMMA | 
| OLD | NEW | 
|---|