| 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 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1088 DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins") | 1088 DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins") |
| 1089 DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints") | 1089 DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints") |
| 1090 | 1090 |
| 1091 // compiler.cc | 1091 // compiler.cc |
| 1092 DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins") | 1092 DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins") |
| 1093 DEFINE_BOOL(print_scopes, false, "print scopes") | 1093 DEFINE_BOOL(print_scopes, false, "print scopes") |
| 1094 | 1094 |
| 1095 // contexts.cc | 1095 // contexts.cc |
| 1096 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") | 1096 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") |
| 1097 | 1097 |
| 1098 // frames.cc |
| 1099 DEFINE_BOOL(zap_cpp_pointers, false, |
| 1100 "zap heap pointers on the C++ stack during GC") |
| 1101 |
| 1098 // heap.cc | 1102 // heap.cc |
| 1099 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") | 1103 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") |
| 1100 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") | 1104 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") |
| 1101 DEFINE_BOOL(code_stats, false, "report code statistics after GC") | 1105 DEFINE_BOOL(code_stats, false, "report code statistics after GC") |
| 1102 DEFINE_BOOL(print_handles, false, "report handles after GC") | 1106 DEFINE_BOOL(print_handles, false, "report handles after GC") |
| 1103 DEFINE_BOOL(check_handle_count, false, | 1107 DEFINE_BOOL(check_handle_count, false, |
| 1104 "Check that there are not too many handles at GC") | 1108 "Check that there are not too many handles at GC") |
| 1105 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") | 1109 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") |
| 1106 | 1110 |
| 1107 // TurboFan debug-only flags. | 1111 // TurboFan debug-only flags. |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1349 #undef DEFINE_ALIAS_FLOAT | 1353 #undef DEFINE_ALIAS_FLOAT |
| 1350 #undef DEFINE_ALIAS_ARGS | 1354 #undef DEFINE_ALIAS_ARGS |
| 1351 | 1355 |
| 1352 #undef FLAG_MODE_DECLARE | 1356 #undef FLAG_MODE_DECLARE |
| 1353 #undef FLAG_MODE_DEFINE | 1357 #undef FLAG_MODE_DEFINE |
| 1354 #undef FLAG_MODE_DEFINE_DEFAULTS | 1358 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1355 #undef FLAG_MODE_META | 1359 #undef FLAG_MODE_META |
| 1356 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1360 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1357 | 1361 |
| 1358 #undef COMMA | 1362 #undef COMMA |
| OLD | NEW |