OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 "file in which to testing_serialize heap") | 193 "file in which to testing_serialize heap") |
194 #else | 194 #else |
195 DEFINE_string(testing_serialization_file, "/tmp/serdes", | 195 DEFINE_string(testing_serialization_file, "/tmp/serdes", |
196 "file in which to serialize heap") | 196 "file in which to serialize heap") |
197 #endif | 197 #endif |
198 | 198 |
199 // | 199 // |
200 // Dev shell flags | 200 // Dev shell flags |
201 // | 201 // |
202 | 202 |
| 203 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
203 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 204 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
204 | 205 |
205 // | 206 // |
206 // Debug only flags | 207 // Debug only flags |
207 // | 208 // |
208 #undef FLAG | 209 #undef FLAG |
209 #ifdef DEBUG | 210 #ifdef DEBUG |
210 #define FLAG FLAG_FULL | 211 #define FLAG FLAG_FULL |
211 #else | 212 #else |
212 #define FLAG FLAG_READONLY | 213 #define FLAG FLAG_READONLY |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 #undef FLAG | 318 #undef FLAG |
318 | 319 |
319 #undef DEFINE_bool | 320 #undef DEFINE_bool |
320 #undef DEFINE_int | 321 #undef DEFINE_int |
321 #undef DEFINE_string | 322 #undef DEFINE_string |
322 | 323 |
323 #undef FLAG_MODE_DECLARE | 324 #undef FLAG_MODE_DECLARE |
324 #undef FLAG_MODE_DEFINE | 325 #undef FLAG_MODE_DEFINE |
325 #undef FLAG_MODE_DEFINE_DEFAULTS | 326 #undef FLAG_MODE_DEFINE_DEFAULTS |
326 #undef FLAG_MODE_META | 327 #undef FLAG_MODE_META |
OLD | NEW |