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 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 // Dev shell flags | 276 // Dev shell flags |
277 // | 277 // |
278 | 278 |
279 DEFINE_bool(help, false, "Print usage message, including flags, on console") | 279 DEFINE_bool(help, false, "Print usage message, including flags, on console") |
280 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 280 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
281 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 281 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
282 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 282 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
283 "debugger agent in another process") | 283 "debugger agent in another process") |
284 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | 284 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
285 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | 285 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
286 DEFINE_string(map_counters, false, "Map counters to a file") | 286 DEFINE_string(map_counters, NULL, "Map counters to a file") |
287 DEFINE_args(js_arguments, JSArguments(), | 287 DEFINE_args(js_arguments, JSArguments(), |
288 "Pass all remaining arguments to the script. Alias for \"--\".") | 288 "Pass all remaining arguments to the script. Alias for \"--\".") |
289 | 289 |
290 // | 290 // |
291 // Debug only flags | 291 // Debug only flags |
292 // | 292 // |
293 #undef FLAG | 293 #undef FLAG |
294 #ifdef DEBUG | 294 #ifdef DEBUG |
295 #define FLAG FLAG_FULL | 295 #define FLAG FLAG_FULL |
296 #else | 296 #else |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 #undef FLAG | 443 #undef FLAG |
444 | 444 |
445 #undef DEFINE_bool | 445 #undef DEFINE_bool |
446 #undef DEFINE_int | 446 #undef DEFINE_int |
447 #undef DEFINE_string | 447 #undef DEFINE_string |
448 | 448 |
449 #undef FLAG_MODE_DECLARE | 449 #undef FLAG_MODE_DECLARE |
450 #undef FLAG_MODE_DEFINE | 450 #undef FLAG_MODE_DEFINE |
451 #undef FLAG_MODE_DEFINE_DEFAULTS | 451 #undef FLAG_MODE_DEFINE_DEFAULTS |
452 #undef FLAG_MODE_META | 452 #undef FLAG_MODE_META |
OLD | NEW |