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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 "enable loading 32-bit constant by means of movw/movt " | 458 "enable loading 32-bit constant by means of movw/movt " |
459 "instruction pairs (ARM only)") | 459 "instruction pairs (ARM only)") |
460 DEFINE_BOOL(enable_unaligned_accesses, true, | 460 DEFINE_BOOL(enable_unaligned_accesses, true, |
461 "enable unaligned accesses for ARMv7 (ARM only)") | 461 "enable unaligned accesses for ARMv7 (ARM only)") |
462 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, | 462 DEFINE_BOOL(enable_32dregs, ENABLE_32DREGS_DEFAULT, |
463 "enable use of d16-d31 registers on ARM - this requires VFP3") | 463 "enable use of d16-d31 registers on ARM - this requires VFP3") |
464 DEFINE_BOOL(enable_vldr_imm, false, | 464 DEFINE_BOOL(enable_vldr_imm, false, |
465 "enable use of constant pools for double immediate (ARM only)") | 465 "enable use of constant pools for double immediate (ARM only)") |
466 DEFINE_BOOL(force_long_branches, false, | 466 DEFINE_BOOL(force_long_branches, false, |
467 "force all emitted branches to be in long mode (MIPS/PPC only)") | 467 "force all emitted branches to be in long mode (MIPS/PPC only)") |
| 468 DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu") |
468 | 469 |
469 // bootstrapper.cc | 470 // bootstrapper.cc |
470 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") | 471 DEFINE_STRING(expose_natives_as, NULL, "expose natives in global object") |
471 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") | 472 DEFINE_STRING(expose_debug_as, NULL, "expose debug in global object") |
472 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") | 473 DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension") |
473 DEFINE_BOOL(expose_gc, false, "expose gc extension") | 474 DEFINE_BOOL(expose_gc, false, "expose gc extension") |
474 DEFINE_STRING(expose_gc_as, NULL, | 475 DEFINE_STRING(expose_gc_as, NULL, |
475 "expose gc extension under the specified name") | 476 "expose gc extension under the specified name") |
476 DEFINE_IMPLICATION(expose_gc_as, expose_gc) | 477 DEFINE_IMPLICATION(expose_gc_as, expose_gc) |
477 DEFINE_BOOL(expose_externalize_string, false, | 478 DEFINE_BOOL(expose_externalize_string, false, |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 #undef DEFINE_ALIAS_FLOAT | 1005 #undef DEFINE_ALIAS_FLOAT |
1005 #undef DEFINE_ALIAS_ARGS | 1006 #undef DEFINE_ALIAS_ARGS |
1006 | 1007 |
1007 #undef FLAG_MODE_DECLARE | 1008 #undef FLAG_MODE_DECLARE |
1008 #undef FLAG_MODE_DEFINE | 1009 #undef FLAG_MODE_DEFINE |
1009 #undef FLAG_MODE_DEFINE_DEFAULTS | 1010 #undef FLAG_MODE_DEFINE_DEFAULTS |
1010 #undef FLAG_MODE_META | 1011 #undef FLAG_MODE_META |
1011 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1012 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1012 | 1013 |
1013 #undef COMMA | 1014 #undef COMMA |
OLD | NEW |