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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 "instruction pairs (ARM only)") | 431 "instruction pairs (ARM only)") |
432 DEFINE_BOOL(enable_unaligned_accesses, true, | 432 DEFINE_BOOL(enable_unaligned_accesses, true, |
433 "enable unaligned accesses for ARMv7 (ARM only)") | 433 "enable unaligned accesses for ARMv7 (ARM only)") |
434 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 434 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
435 "enable use of d16-d31 registers on ARM - this requires VFP3") | 435 "enable use of d16-d31 registers on ARM - this requires VFP3") |
436 DEFINE_BOOL(enable_vldr_imm, false, | 436 DEFINE_BOOL(enable_vldr_imm, false, |
437 "enable use of constant pools for double immediate (ARM only)") | 437 "enable use of constant pools for double immediate (ARM only)") |
438 DEFINE_BOOL(force_long_branches, false, | 438 DEFINE_BOOL(force_long_branches, false, |
439 "force all emitted branches to be in long mode (MIPS only)") | 439 "force all emitted branches to be in long mode (MIPS only)") |
440 | 440 |
441 // cpu-arm64.cc | |
442 DEFINE_BOOL(enable_always_align_csp, true, | |
443 "enable alignment of csp to 16 bytes on platforms which prefer " | |
444 "the register to always be aligned (ARM64 only)") | |
445 | |
446 // bootstrapper.cc | 441 // bootstrapper.cc |
447 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 442 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
448 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 443 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") |
449 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 444 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
450 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 445 DEFINE_BOOL(expose_gc, false, "expose gc extension") |
451 DEFINE_STRING(expose_gc_as, NULL, | 446 DEFINE_STRING(expose_gc_as, NULL, |
452 "expose gc extension under the specified name") | 447 "expose gc extension under the specified name") |
453 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 448 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
454 DEFINE_BOOL(expose_externalize_string, false, | 449 DEFINE_BOOL(expose_externalize_string, false, |
455 "expose externalize string extension") | 450 "expose externalize string extension") |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 #undef DEFINE_ALIAS_FLOAT | 965 #undef DEFINE_ALIAS_FLOAT |
971 #undef DEFINE_ALIAS_ARGS | 966 #undef DEFINE_ALIAS_ARGS |
972 | 967 |
973 #undef FLAG_MODE_DECLARE | 968 #undef FLAG_MODE_DECLARE |
974 #undef FLAG_MODE_DEFINE | 969 #undef FLAG_MODE_DEFINE |
975 #undef FLAG_MODE_DEFINE_DEFAULTS | 970 #undef FLAG_MODE_DEFINE_DEFAULTS |
976 #undef FLAG_MODE_META | 971 #undef FLAG_MODE_META |
977 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 972 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
978 | 973 |
979 #undef COMMA | 974 #undef COMMA |
OLD | NEW |