OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 348 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
349 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 349 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
350 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 350 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
351 "debugger agent in another process") | 351 "debugger agent in another process") |
352 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | 352 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
353 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | 353 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
354 DEFINE_string(map_counters, NULL, "Map counters to a file") | 354 DEFINE_string(map_counters, NULL, "Map counters to a file") |
355 DEFINE_args(js_arguments, JSArguments(), | 355 DEFINE_args(js_arguments, JSArguments(), |
356 "Pass all remaining arguments to the script. Alias for \"--\".") | 356 "Pass all remaining arguments to the script. Alias for \"--\".") |
357 | 357 |
358 #if defined(WEBOS__) | |
359 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") | |
360 DEFINE_bool(debug_script_collected_events, false, | |
361 "Enable debugger script collected events") | |
362 #else | |
363 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") | |
364 DEFINE_bool(debug_script_collected_events, true, | |
365 "Enable debugger script collected events") | |
366 #endif | |
367 | |
368 // | 358 // |
369 // Debug only flags | 359 // Debug only flags |
370 // | 360 // |
371 #undef FLAG | 361 #undef FLAG |
372 #ifdef DEBUG | 362 #ifdef DEBUG |
373 #define FLAG FLAG_FULL | 363 #define FLAG FLAG_FULL |
374 #else | 364 #else |
375 #define FLAG FLAG_READONLY | 365 #define FLAG FLAG_READONLY |
376 #endif | 366 #endif |
377 | 367 |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 #undef FLAG | 516 #undef FLAG |
527 | 517 |
528 #undef DEFINE_bool | 518 #undef DEFINE_bool |
529 #undef DEFINE_int | 519 #undef DEFINE_int |
530 #undef DEFINE_string | 520 #undef DEFINE_string |
531 | 521 |
532 #undef FLAG_MODE_DECLARE | 522 #undef FLAG_MODE_DECLARE |
533 #undef FLAG_MODE_DEFINE | 523 #undef FLAG_MODE_DEFINE |
534 #undef FLAG_MODE_DEFINE_DEFAULTS | 524 #undef FLAG_MODE_DEFINE_DEFAULTS |
535 #undef FLAG_MODE_META | 525 #undef FLAG_MODE_META |
OLD | NEW |