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 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 | 1104 |
1105 DEFINE_BOOL(redirect_code_traces, false, | 1105 DEFINE_BOOL(redirect_code_traces, false, |
1106 "output deopt information and disassembly into file " | 1106 "output deopt information and disassembly into file " |
1107 "code-<pid>-<isolate id>.asm") | 1107 "code-<pid>-<isolate id>.asm") |
1108 DEFINE_STRING(redirect_code_traces_to, NULL, | 1108 DEFINE_STRING(redirect_code_traces_to, NULL, |
1109 "output deopt information and disassembly into the given file") | 1109 "output deopt information and disassembly into the given file") |
1110 | 1110 |
1111 DEFINE_BOOL(hydrogen_track_positions, false, | 1111 DEFINE_BOOL(hydrogen_track_positions, false, |
1112 "track source code positions when building IR") | 1112 "track source code positions when building IR") |
1113 | 1113 |
| 1114 DEFINE_BOOL(print_opt_source, false, |
| 1115 "print source code of optimized and inlined functions") |
| 1116 DEFINE_IMPLICATION(hydrogen_track_positions, print_opt_source) |
| 1117 |
1114 // | 1118 // |
1115 // Disassembler only flags | 1119 // Disassembler only flags |
1116 // | 1120 // |
1117 #undef FLAG | 1121 #undef FLAG |
1118 #ifdef ENABLE_DISASSEMBLER | 1122 #ifdef ENABLE_DISASSEMBLER |
1119 #define FLAG FLAG_FULL | 1123 #define FLAG FLAG_FULL |
1120 #else | 1124 #else |
1121 #define FLAG FLAG_READONLY | 1125 #define FLAG FLAG_READONLY |
1122 #endif | 1126 #endif |
1123 | 1127 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 #undef DEFINE_ALIAS_FLOAT | 1245 #undef DEFINE_ALIAS_FLOAT |
1242 #undef DEFINE_ALIAS_ARGS | 1246 #undef DEFINE_ALIAS_ARGS |
1243 | 1247 |
1244 #undef FLAG_MODE_DECLARE | 1248 #undef FLAG_MODE_DECLARE |
1245 #undef FLAG_MODE_DEFINE | 1249 #undef FLAG_MODE_DEFINE |
1246 #undef FLAG_MODE_DEFINE_DEFAULTS | 1250 #undef FLAG_MODE_DEFINE_DEFAULTS |
1247 #undef FLAG_MODE_META | 1251 #undef FLAG_MODE_META |
1248 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1252 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1249 | 1253 |
1250 #undef COMMA | 1254 #undef COMMA |
OLD | NEW |