| 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 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1069 #undef FLAG | 1069 #undef FLAG |
| 1070 | 1070 |
| 1071 #ifdef VERIFY_PREDICTABLE | 1071 #ifdef VERIFY_PREDICTABLE |
| 1072 #define FLAG FLAG_FULL | 1072 #define FLAG FLAG_FULL |
| 1073 #else | 1073 #else |
| 1074 #define FLAG FLAG_READONLY | 1074 #define FLAG FLAG_READONLY |
| 1075 #endif | 1075 #endif |
| 1076 | 1076 |
| 1077 DEFINE_BOOL(verify_predictable, false, | 1077 DEFINE_BOOL(verify_predictable, false, |
| 1078 "this mode is used for checking that V8 behaves predictably") | 1078 "this mode is used for checking that V8 behaves predictably") |
| 1079 DEFINE_INT(dump_allocations_digest_at_alloc, 0, | 1079 DEFINE_INT(dump_allocations_digest_at_alloc, -1, |
| 1080 "dump allocations digest each n-th allocation") | 1080 "dump allocations digest each n-th allocation") |
| 1081 | 1081 |
| 1082 | 1082 |
| 1083 // | 1083 // |
| 1084 // Read-only flags | 1084 // Read-only flags |
| 1085 // | 1085 // |
| 1086 #undef FLAG | 1086 #undef FLAG |
| 1087 #define FLAG FLAG_READONLY | 1087 #define FLAG FLAG_READONLY |
| 1088 | 1088 |
| 1089 // assembler.h | 1089 // assembler.h |
| (...skipping 29 matching lines...) Expand all Loading... |
| 1119 #undef DEFINE_ALIAS_FLOAT | 1119 #undef DEFINE_ALIAS_FLOAT |
| 1120 #undef DEFINE_ALIAS_ARGS | 1120 #undef DEFINE_ALIAS_ARGS |
| 1121 | 1121 |
| 1122 #undef FLAG_MODE_DECLARE | 1122 #undef FLAG_MODE_DECLARE |
| 1123 #undef FLAG_MODE_DEFINE | 1123 #undef FLAG_MODE_DEFINE |
| 1124 #undef FLAG_MODE_DEFINE_DEFAULTS | 1124 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1125 #undef FLAG_MODE_META | 1125 #undef FLAG_MODE_META |
| 1126 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1126 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1127 | 1127 |
| 1128 #undef COMMA | 1128 #undef COMMA |
| OLD | NEW |