Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: src/flag-definitions.h

Issue 9420: Adds a --help option and usage message listing all flags to V8. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/d8.cc ('k') | src/flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698