| 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 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 797 "candidates pages (requires --stress_compaction).") | 797 "candidates pages (requires --stress_compaction).") |
| 798 | 798 |
| 799 | 799 |
| 800 // | 800 // |
| 801 // Dev shell flags | 801 // Dev shell flags |
| 802 // | 802 // |
| 803 | 803 |
| 804 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") | 804 DEFINE_BOOL(help, false, "Print usage message, including flags, on console") |
| 805 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") | 805 DEFINE_BOOL(dump_counters, false, "Dump counters on exit") |
| 806 | 806 |
| 807 DEFINE_BOOL(debugger, false, "Enable JavaScript debugger") | |
| 808 | |
| 809 DEFINE_STRING(map_counters, "", "Map counters to a file") | 807 DEFINE_STRING(map_counters, "", "Map counters to a file") |
| 810 DEFINE_ARGS(js_arguments, | 808 DEFINE_ARGS(js_arguments, |
| 811 "Pass all remaining arguments to the script. Alias for \"--\".") | 809 "Pass all remaining arguments to the script. Alias for \"--\".") |
| 812 | 810 |
| 813 // | 811 // |
| 814 // GDB JIT integration flags. | 812 // GDB JIT integration flags. |
| 815 // | 813 // |
| 816 #undef FLAG | 814 #undef FLAG |
| 817 #ifdef ENABLE_GDB_JIT_INTERFACE | 815 #ifdef ENABLE_GDB_JIT_INTERFACE |
| 818 #define FLAG FLAG_FULL | 816 #define FLAG FLAG_FULL |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 #undef DEFINE_ALIAS_FLOAT | 1063 #undef DEFINE_ALIAS_FLOAT |
| 1066 #undef DEFINE_ALIAS_ARGS | 1064 #undef DEFINE_ALIAS_ARGS |
| 1067 | 1065 |
| 1068 #undef FLAG_MODE_DECLARE | 1066 #undef FLAG_MODE_DECLARE |
| 1069 #undef FLAG_MODE_DEFINE | 1067 #undef FLAG_MODE_DEFINE |
| 1070 #undef FLAG_MODE_DEFINE_DEFAULTS | 1068 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1071 #undef FLAG_MODE_META | 1069 #undef FLAG_MODE_META |
| 1072 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1070 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1073 | 1071 |
| 1074 #undef COMMA | 1072 #undef COMMA |
| OLD | NEW |