| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 DEFINE_bool(use_osr, true, "use on-stack replacement") | 140 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 141 | 141 |
| 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 DEFINE_bool(optimize_closures, true, "optimize closures") |
| 145 | 145 |
| 146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
| 147 DEFINE_bool(debug_code, false, | 147 DEFINE_bool(debug_code, false, |
| 148 "generate extra code (assertions) for debugging") | 148 "generate extra code (assertions) for debugging") |
| 149 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 149 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
| 150 DEFINE_bool(emit_branch_hints, false, "emit branch hints") | |
| 151 DEFINE_bool(peephole_optimization, true, | 150 DEFINE_bool(peephole_optimization, true, |
| 152 "perform peephole optimizations in assembly code") | 151 "perform peephole optimizations in assembly code") |
| 153 DEFINE_bool(print_peephole_optimization, false, | 152 DEFINE_bool(print_peephole_optimization, false, |
| 154 "print peephole optimizations in assembly code") | 153 "print peephole optimizations in assembly code") |
| 155 DEFINE_bool(enable_sse2, true, | 154 DEFINE_bool(enable_sse2, true, |
| 156 "enable use of SSE2 instructions if available") | 155 "enable use of SSE2 instructions if available") |
| 157 DEFINE_bool(enable_sse3, true, | 156 DEFINE_bool(enable_sse3, true, |
| 158 "enable use of SSE3 instructions if available") | 157 "enable use of SSE3 instructions if available") |
| 159 DEFINE_bool(enable_sse4_1, true, | 158 DEFINE_bool(enable_sse4_1, true, |
| 160 "enable use of SSE4.1 instructions if available") | 159 "enable use of SSE4.1 instructions if available") |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 DEFINE_string(lol_workdir, NULL, "path for lol temp files") | 286 DEFINE_string(lol_workdir, NULL, "path for lol temp files") |
| 288 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") | 287 DEFINE_bool(verify_lol, false, "perform debugging verification for lol") |
| 289 #endif | 288 #endif |
| 290 | 289 |
| 291 // macro-assembler-ia32.cc | 290 // macro-assembler-ia32.cc |
| 292 DEFINE_bool(native_code_counters, false, | 291 DEFINE_bool(native_code_counters, false, |
| 293 "generate extra code for manipulating stats counters") | 292 "generate extra code for manipulating stats counters") |
| 294 | 293 |
| 295 // mark-compact.cc | 294 // mark-compact.cc |
| 296 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") | 295 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") |
| 296 DEFINE_bool(lazy_sweeping, true, |
| 297 "Use lazy sweeping for old pointer and data spaces") |
| 298 DEFINE_bool(cleanup_caches_in_maps_at_gc, true, |
| 299 "Flush code caches in maps during mark compact cycle.") |
| 297 DEFINE_bool(never_compact, false, | 300 DEFINE_bool(never_compact, false, |
| 298 "Never perform compaction on full GC - testing only") | 301 "Never perform compaction on full GC - testing only") |
| 299 DEFINE_bool(lazy_sweeping, true, | 302 DEFINE_bool(cleanup_code_caches_at_gc, true, |
| 300 "Use lazy sweeping for old pointer and data spaces") | 303 "Flush inline caches prior to mark compact collection and " |
| 301 DEFINE_bool(cleanup_ics_at_gc, true, | 304 "flush code caches in maps during mark compact cycle.") |
| 302 "Flush inline caches prior to mark compact collection.") | |
| 303 DEFINE_bool(cleanup_caches_in_maps_at_gc, true, | |
| 304 "Flush code caches in maps during mark compact cycle.") | |
| 305 DEFINE_int(random_seed, 0, | 305 DEFINE_int(random_seed, 0, |
| 306 "Default seed for initializing random generator " | 306 "Default seed for initializing random generator " |
| 307 "(0, the default, means to use system random).") | 307 "(0, the default, means to use system random).") |
| 308 | 308 |
| 309 DEFINE_bool(canonicalize_object_literal_maps, true, | 309 DEFINE_bool(canonicalize_object_literal_maps, true, |
| 310 "Canonicalize maps for object literals.") | 310 "Canonicalize maps for object literals.") |
| 311 | 311 |
| 312 DEFINE_bool(use_big_map_space, true, | 312 DEFINE_bool(use_big_map_space, true, |
| 313 "Use big map space, but don't compact if it grew too big.") | 313 "Use big map space, but don't compact if it grew too big.") |
| 314 | 314 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 331 // rewriter.cc | 331 // rewriter.cc |
| 332 DEFINE_bool(optimize_ast, true, "optimize the ast") | 332 DEFINE_bool(optimize_ast, true, "optimize the ast") |
| 333 | 333 |
| 334 // simulator-arm.cc and simulator-mips.cc | 334 // simulator-arm.cc and simulator-mips.cc |
| 335 DEFINE_bool(trace_sim, false, "Trace simulator execution") | 335 DEFINE_bool(trace_sim, false, "Trace simulator execution") |
| 336 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator") | 336 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator") |
| 337 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") | 337 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") |
| 338 DEFINE_int(sim_stack_alignment, 8, | 338 DEFINE_int(sim_stack_alignment, 8, |
| 339 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") | 339 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
| 340 | 340 |
| 341 // top.cc | 341 // isolate.cc |
| 342 DEFINE_bool(trace_exception, false, | 342 DEFINE_bool(trace_exception, false, |
| 343 "print stack trace when throwing exceptions") | 343 "print stack trace when throwing exceptions") |
| 344 DEFINE_bool(preallocate_message_memory, false, | 344 DEFINE_bool(preallocate_message_memory, false, |
| 345 "preallocate some memory to build stack traces.") | 345 "preallocate some memory to build stack traces.") |
| 346 | 346 |
| 347 // v8.cc | 347 // v8.cc |
| 348 DEFINE_bool(preemption, false, | 348 DEFINE_bool(preemption, false, |
| 349 "activate a 100ms timer that switches between V8 threads") | 349 "activate a 100ms timer that switches between V8 threads") |
| 350 | 350 |
| 351 // Regexp | 351 // Regexp |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 568 #undef FLAG | 568 #undef FLAG |
| 569 | 569 |
| 570 #undef DEFINE_bool | 570 #undef DEFINE_bool |
| 571 #undef DEFINE_int | 571 #undef DEFINE_int |
| 572 #undef DEFINE_string | 572 #undef DEFINE_string |
| 573 | 573 |
| 574 #undef FLAG_MODE_DECLARE | 574 #undef FLAG_MODE_DECLARE |
| 575 #undef FLAG_MODE_DEFINE | 575 #undef FLAG_MODE_DEFINE |
| 576 #undef FLAG_MODE_DEFINE_DEFAULTS | 576 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 577 #undef FLAG_MODE_META | 577 #undef FLAG_MODE_META |
| OLD | NEW |