| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| 135 DEFINE_bool(aggressive_loop_invariant_motion, true, | 135 DEFINE_bool(aggressive_loop_invariant_motion, true, |
| 136 "aggressive motion of instructions out of loops") | 136 "aggressive motion of instructions out of loops") |
| 137 #ifdef V8_TARGET_ARCH_IA32 | 137 #ifdef V8_TARGET_ARCH_IA32 |
| 138 DEFINE_bool(use_osr, true, "use on-stack replacement") | 138 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 139 #else | 139 #else |
| 140 DEFINE_bool(use_osr, false, "use on-stack replacement") | 140 DEFINE_bool(use_osr, false, "use on-stack replacement") |
| 141 #endif | 141 #endif |
| 142 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 142 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 143 DEFINE_int(stress_runs, 0, "number of stress runs") | 143 DEFINE_int(stress_runs, 0, "number of stress runs") |
| 144 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 144 | 145 |
| 145 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
| 146 DEFINE_bool(debug_code, false, | 147 DEFINE_bool(debug_code, false, |
| 147 "generate extra code (assertions) for debugging") | 148 "generate extra code (assertions) for debugging") |
| 148 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 149 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
| 149 DEFINE_bool(emit_branch_hints, false, "emit branch hints") | 150 DEFINE_bool(emit_branch_hints, false, "emit branch hints") |
| 150 DEFINE_bool(peephole_optimization, true, | 151 DEFINE_bool(peephole_optimization, true, |
| 151 "perform peephole optimizations in assembly code") | 152 "perform peephole optimizations in assembly code") |
| 152 DEFINE_bool(print_peephole_optimization, false, | 153 DEFINE_bool(print_peephole_optimization, false, |
| 153 "print peephole optimizations in assembly code") | 154 "print peephole optimizations in assembly code") |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 294 |
| 294 // mksnapshot.cc | 295 // mksnapshot.cc |
| 295 DEFINE_bool(h, false, "print this message") | 296 DEFINE_bool(h, false, "print this message") |
| 296 DEFINE_bool(new_snapshot, true, "use new snapshot implementation") | 297 DEFINE_bool(new_snapshot, true, "use new snapshot implementation") |
| 297 | 298 |
| 298 // objects.cc | 299 // objects.cc |
| 299 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") | 300 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") |
| 300 | 301 |
| 301 // parser.cc | 302 // parser.cc |
| 302 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") | 303 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") |
| 304 DEFINE_bool(strict_mode, true, "allow strict mode directives") |
| 303 | 305 |
| 304 // rewriter.cc | 306 // rewriter.cc |
| 305 DEFINE_bool(optimize_ast, true, "optimize the ast") | 307 DEFINE_bool(optimize_ast, true, "optimize the ast") |
| 306 | 308 |
| 307 // simulator-arm.cc and simulator-mips.cc | 309 // simulator-arm.cc and simulator-mips.cc |
| 308 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 310 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
| 309 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator") | 311 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator") |
| 310 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 312 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 311 DEFINE_int(sim_stack_alignment, 8, | 313 DEFINE_int(sim_stack_alignment, 8, |
| 312 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 314 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 #if defined(WEBOS__) | 360 #if defined(WEBOS__) |
| 359 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") | 361 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events") |
| 360 DEFINE_bool(debug_script_collected_events, false, | 362 DEFINE_bool(debug_script_collected_events, false, |
| 361 "Enable debugger script collected events") | 363 "Enable debugger script collected events") |
| 362 #else | 364 #else |
| 363 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") | 365 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events") |
| 364 DEFINE_bool(debug_script_collected_events, true, | 366 DEFINE_bool(debug_script_collected_events, true, |
| 365 "Enable debugger script collected events") | 367 "Enable debugger script collected events") |
| 366 #endif | 368 #endif |
| 367 | 369 |
| 370 |
| 371 // |
| 372 // GDB JIT integration flags. |
| 373 // |
| 374 |
| 375 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)") |
| 376 DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects") |
| 377 |
| 368 // | 378 // |
| 369 // Debug only flags | 379 // Debug only flags |
| 370 // | 380 // |
| 371 #undef FLAG | 381 #undef FLAG |
| 372 #ifdef DEBUG | 382 #ifdef DEBUG |
| 373 #define FLAG FLAG_FULL | 383 #define FLAG FLAG_FULL |
| 374 #else | 384 #else |
| 375 #define FLAG FLAG_READONLY | 385 #define FLAG FLAG_READONLY |
| 376 #endif | 386 #endif |
| 377 | 387 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 #undef FLAG | 538 #undef FLAG |
| 529 | 539 |
| 530 #undef DEFINE_bool | 540 #undef DEFINE_bool |
| 531 #undef DEFINE_int | 541 #undef DEFINE_int |
| 532 #undef DEFINE_string | 542 #undef DEFINE_string |
| 533 | 543 |
| 534 #undef FLAG_MODE_DECLARE | 544 #undef FLAG_MODE_DECLARE |
| 535 #undef FLAG_MODE_DEFINE | 545 #undef FLAG_MODE_DEFINE |
| 536 #undef FLAG_MODE_DEFINE_DEFAULTS | 546 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 537 #undef FLAG_MODE_META | 547 #undef FLAG_MODE_META |
| OLD | NEW |