| 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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 #define FLAG FLAG_READONLY | 956 #define FLAG FLAG_READONLY |
| 957 #endif | 957 #endif |
| 958 | 958 |
| 959 // checks.cc | 959 // checks.cc |
| 960 #ifdef ENABLE_SLOW_DCHECKS | 960 #ifdef ENABLE_SLOW_DCHECKS |
| 961 DEFINE_BOOL(enable_slow_asserts, false, | 961 DEFINE_BOOL(enable_slow_asserts, false, |
| 962 "enable asserts that are slow to execute") | 962 "enable asserts that are slow to execute") |
| 963 #endif | 963 #endif |
| 964 | 964 |
| 965 // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc | 965 // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc |
| 966 DEFINE_BOOL(print_source, false, "pretty print source code") | |
| 967 DEFINE_BOOL(print_builtin_source, false, | |
| 968 "pretty print source code for builtins") | |
| 969 DEFINE_BOOL(print_ast, false, "print source AST") | 966 DEFINE_BOOL(print_ast, false, "print source AST") |
| 970 DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins") | 967 DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins") |
| 971 DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints") | 968 DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints") |
| 972 | 969 |
| 973 // compiler.cc | 970 // compiler.cc |
| 974 DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins") | 971 DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins") |
| 975 DEFINE_BOOL(print_scopes, false, "print scopes") | 972 DEFINE_BOOL(print_scopes, false, "print scopes") |
| 976 | 973 |
| 977 // contexts.cc | 974 // contexts.cc |
| 978 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") | 975 DEFINE_BOOL(trace_contexts, false, "trace contexts operations") |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1195 #undef DEFINE_ALIAS_FLOAT | 1192 #undef DEFINE_ALIAS_FLOAT |
| 1196 #undef DEFINE_ALIAS_ARGS | 1193 #undef DEFINE_ALIAS_ARGS |
| 1197 | 1194 |
| 1198 #undef FLAG_MODE_DECLARE | 1195 #undef FLAG_MODE_DECLARE |
| 1199 #undef FLAG_MODE_DEFINE | 1196 #undef FLAG_MODE_DEFINE |
| 1200 #undef FLAG_MODE_DEFINE_DEFAULTS | 1197 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1201 #undef FLAG_MODE_META | 1198 #undef FLAG_MODE_META |
| 1202 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1199 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1203 | 1200 |
| 1204 #undef COMMA | 1201 #undef COMMA |
| OLD | NEW |