| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 DEFINE_bool(use_inlining, true, "use function inlining") | 115 DEFINE_bool(use_inlining, true, "use function inlining") |
| 116 DEFINE_bool(limit_inlining, true, "limit code size growth from inlining") | 116 DEFINE_bool(limit_inlining, true, "limit code size growth from inlining") |
| 117 DEFINE_bool(eliminate_empty_blocks, true, "eliminate empty blocks") | 117 DEFINE_bool(eliminate_empty_blocks, true, "eliminate empty blocks") |
| 118 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") | 118 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") |
| 119 DEFINE_bool(time_hydrogen, false, "timing for hydrogen") | 119 DEFINE_bool(time_hydrogen, false, "timing for hydrogen") |
| 120 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") | 120 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") |
| 121 DEFINE_bool(trace_inlining, false, "trace inlining decisions") | 121 DEFINE_bool(trace_inlining, false, "trace inlining decisions") |
| 122 DEFINE_bool(trace_alloc, false, "trace register allocator") | 122 DEFINE_bool(trace_alloc, false, "trace register allocator") |
| 123 DEFINE_bool(trace_range, false, "trace range analysis") | 123 DEFINE_bool(trace_range, false, "trace range analysis") |
| 124 DEFINE_bool(trace_gvn, false, "trace global value numbering") | 124 DEFINE_bool(trace_gvn, false, "trace global value numbering") |
| 125 DEFINE_bool(trace_environment, false, "trace lithium environments") | |
| 126 DEFINE_bool(trace_representation, false, "trace representation types") | 125 DEFINE_bool(trace_representation, false, "trace representation types") |
| 127 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 126 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
| 128 DEFINE_bool(stress_environments, false, "environment for every instruction") | 127 DEFINE_bool(stress_environments, false, "environment for every instruction") |
| 129 DEFINE_int(deopt_every_n_times, | 128 DEFINE_int(deopt_every_n_times, |
| 130 0, | 129 0, |
| 131 "deoptimize every n times a deopt point is passed") | 130 "deoptimize every n times a deopt point is passed") |
| 132 DEFINE_bool(process_arguments_object, true, "try to deal with arguments object") | 131 DEFINE_bool(process_arguments_object, true, "try to deal with arguments object") |
| 133 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 132 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
| 134 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 133 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
| 135 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 DEFINE_bool(dump_counters, false, "Dump counters on exit") | 348 DEFINE_bool(dump_counters, false, "Dump counters on exit") |
| 350 DEFINE_bool(debugger, false, "Enable JavaScript debugger") | 349 DEFINE_bool(debugger, false, "Enable JavaScript debugger") |
| 351 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " | 350 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " |
| 352 "debugger agent in another process") | 351 "debugger agent in another process") |
| 353 DEFINE_bool(debugger_agent, false, "Enable debugger agent") | 352 DEFINE_bool(debugger_agent, false, "Enable debugger agent") |
| 354 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") | 353 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") |
| 355 DEFINE_string(map_counters, NULL, "Map counters to a file") | 354 DEFINE_string(map_counters, NULL, "Map counters to a file") |
| 356 DEFINE_args(js_arguments, JSArguments(), | 355 DEFINE_args(js_arguments, JSArguments(), |
| 357 "Pass all remaining arguments to the script. Alias for \"--\".") | 356 "Pass all remaining arguments to the script. Alias for \"--\".") |
| 358 | 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 |
| 359 // | 368 // |
| 360 // Debug only flags | 369 // Debug only flags |
| 361 // | 370 // |
| 362 #undef FLAG | 371 #undef FLAG |
| 363 #ifdef DEBUG | 372 #ifdef DEBUG |
| 364 #define FLAG FLAG_FULL | 373 #define FLAG FLAG_FULL |
| 365 #else | 374 #else |
| 366 #define FLAG FLAG_READONLY | 375 #define FLAG FLAG_READONLY |
| 367 #endif | 376 #endif |
| 368 | 377 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 #undef FLAG | 528 #undef FLAG |
| 520 | 529 |
| 521 #undef DEFINE_bool | 530 #undef DEFINE_bool |
| 522 #undef DEFINE_int | 531 #undef DEFINE_int |
| 523 #undef DEFINE_string | 532 #undef DEFINE_string |
| 524 | 533 |
| 525 #undef FLAG_MODE_DECLARE | 534 #undef FLAG_MODE_DECLARE |
| 526 #undef FLAG_MODE_DEFINE | 535 #undef FLAG_MODE_DEFINE |
| 527 #undef FLAG_MODE_DEFINE_DEFAULTS | 536 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 528 #undef FLAG_MODE_META | 537 #undef FLAG_MODE_META |
| OLD | NEW |