Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Side by Side Diff: src/flag-definitions.h

Issue 35213002: Condense flag definitions a bit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 DEFINE_implication(harmony, harmony_numeric_literals) 195 DEFINE_implication(harmony, harmony_numeric_literals)
196 DEFINE_implication(harmony, harmony_strings) 196 DEFINE_implication(harmony, harmony_strings)
197 DEFINE_implication(harmony, harmony_arrays) 197 DEFINE_implication(harmony, harmony_arrays)
198 DEFINE_implication(harmony, harmony_maths) 198 DEFINE_implication(harmony, harmony_maths)
199 DEFINE_implication(harmony_modules, harmony_scoping) 199 DEFINE_implication(harmony_modules, harmony_scoping)
200 DEFINE_implication(harmony_observation, harmony_collections) 200 DEFINE_implication(harmony_observation, harmony_collections)
201 201
202 // Flags for experimental implementation features. 202 // Flags for experimental implementation features.
203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 203 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 204 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
205 DEFINE_bool(clever_optimizations, 205 DEFINE_bool(clever_optimizations, true,
206 true,
207 "Optimize object size, Array shift, DOM strings and string +") 206 "Optimize object size, Array shift, DOM strings and string +")
208 DEFINE_bool(pretenuring, true, "allocate objects in old space") 207 DEFINE_bool(pretenuring, true, "allocate objects in old space")
209 // TODO(hpayer): We will remove this flag as soon as we have pretenuring 208 // TODO(hpayer): We will remove this flag as soon as we have pretenuring
210 // support for specific allocation sites. 209 // support for specific allocation sites.
211 DEFINE_bool(pretenuring_call_new, false, "pretenure call new") 210 DEFINE_bool(pretenuring_call_new, false, "pretenure call new")
212 DEFINE_bool(allocation_site_pretenuring, false, 211 DEFINE_bool(allocation_site_pretenuring, false,
213 "pretenure with allocation sites") 212 "pretenure with allocation sites")
214 DEFINE_bool(track_fields, true, "track fields with only smi values") 213 DEFINE_bool(track_fields, true, "track fields with only smi values")
215 DEFINE_bool(track_double_fields, true, "track fields with double values") 214 DEFINE_bool(track_double_fields, true, "track fields with double values")
216 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values") 215 DEFINE_bool(track_heap_object_fields, true, "track fields with heap values")
(...skipping 23 matching lines...) Expand all
240 DEFINE_bool(use_allocation_folding, true, "use allocation folding") 239 DEFINE_bool(use_allocation_folding, true, "use allocation folding")
241 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels") 240 DEFINE_int(max_inlining_levels, 5, "maximum number of inlining levels")
242 DEFINE_int(max_inlined_source_size, 600, 241 DEFINE_int(max_inlined_source_size, 600,
243 "maximum source size in bytes considered for a single inlining") 242 "maximum source size in bytes considered for a single inlining")
244 DEFINE_int(max_inlined_nodes, 196, 243 DEFINE_int(max_inlined_nodes, 196,
245 "maximum number of AST nodes considered for a single inlining") 244 "maximum number of AST nodes considered for a single inlining")
246 DEFINE_int(max_inlined_nodes_cumulative, 400, 245 DEFINE_int(max_inlined_nodes_cumulative, 400,
247 "maximum cumulative number of AST nodes considered for inlining") 246 "maximum cumulative number of AST nodes considered for inlining")
248 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") 247 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion")
249 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions") 248 DEFINE_bool(fast_math, true, "faster (but maybe less accurate) math functions")
250 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, 249 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, true,
251 true,
252 "crankshaft harvests type feedback from stub cache") 250 "crankshaft harvests type feedback from stub cache")
253 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") 251 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen")
254 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase") 252 DEFINE_bool(trace_check_elimination, false, "trace check elimination phase")
255 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") 253 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file")
256 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter") 254 DEFINE_string(trace_hydrogen_filter, "*", "hydrogen tracing filter")
257 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs") 255 DEFINE_bool(trace_hydrogen_stubs, false, "trace generated hydrogen for stubs")
258 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name") 256 DEFINE_string(trace_hydrogen_file, NULL, "trace hydrogen to given file name")
259 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases") 257 DEFINE_string(trace_phase, "HLZ", "trace generated IR for specified phases")
260 DEFINE_bool(trace_inlining, false, "trace inlining decisions") 258 DEFINE_bool(trace_inlining, false, "trace inlining decisions")
261 DEFINE_bool(trace_load_elimination, false, "trace load elimination") 259 DEFINE_bool(trace_load_elimination, false, "trace load elimination")
262 DEFINE_bool(trace_alloc, false, "trace register allocator") 260 DEFINE_bool(trace_alloc, false, "trace register allocator")
263 DEFINE_bool(trace_all_uses, false, "trace all use positions") 261 DEFINE_bool(trace_all_uses, false, "trace all use positions")
264 DEFINE_bool(trace_range, false, "trace range analysis") 262 DEFINE_bool(trace_range, false, "trace range analysis")
265 DEFINE_bool(trace_gvn, false, "trace global value numbering") 263 DEFINE_bool(trace_gvn, false, "trace global value numbering")
266 DEFINE_bool(trace_representation, false, "trace representation types") 264 DEFINE_bool(trace_representation, false, "trace representation types")
267 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis") 265 DEFINE_bool(trace_escape_analysis, false, "trace hydrogen escape analysis")
268 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding") 266 DEFINE_bool(trace_allocation_folding, false, "trace allocation folding")
269 DEFINE_bool(trace_track_allocation_sites, false, 267 DEFINE_bool(trace_track_allocation_sites, false,
270 "trace the tracking of allocation sites") 268 "trace the tracking of allocation sites")
271 DEFINE_bool(trace_migration, false, "trace object migration") 269 DEFINE_bool(trace_migration, false, "trace object migration")
272 DEFINE_bool(trace_generalization, false, "trace map generalization") 270 DEFINE_bool(trace_generalization, false, "trace map generalization")
273 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") 271 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction")
274 DEFINE_bool(stress_environments, false, "environment for every instruction") 272 DEFINE_bool(stress_environments, false, "environment for every instruction")
275 DEFINE_int(deopt_every_n_times, 273 DEFINE_int(deopt_every_n_times, 0,
276 0,
277 "deoptimize every n times a deopt point is passed") 274 "deoptimize every n times a deopt point is passed")
278 DEFINE_int(deopt_every_n_garbage_collections, 275 DEFINE_int(deopt_every_n_garbage_collections, 0,
279 0,
280 "deoptimize every n garbage collections") 276 "deoptimize every n garbage collections")
281 DEFINE_bool(print_deopt_stress, false, "print number of possible deopt points") 277 DEFINE_bool(print_deopt_stress, false, "print number of possible deopt points")
282 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") 278 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing")
283 DEFINE_bool(trap_on_stub_deopt, false, 279 DEFINE_bool(trap_on_stub_deopt, false,
284 "put a break point before deoptimizing a stub") 280 "put a break point before deoptimizing a stub")
285 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") 281 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases")
286 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") 282 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining")
287 DEFINE_bool(use_osr, true, "use on-stack replacement") 283 DEFINE_bool(use_osr, true, "use on-stack replacement")
288 DEFINE_bool(array_bounds_checks_elimination, true, 284 DEFINE_bool(array_bounds_checks_elimination, true,
289 "perform array bounds checks elimination") 285 "perform array bounds checks elimination")
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 "enable unaligned accesses for ARMv7 (ARM only)") 397 "enable unaligned accesses for ARMv7 (ARM only)")
402 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT, 398 DEFINE_bool(enable_32dregs, ENABLE_32DREGS_DEFAULT,
403 "enable use of d16-d31 registers on ARM - this requires VFP3") 399 "enable use of d16-d31 registers on ARM - this requires VFP3")
404 DEFINE_bool(enable_vldr_imm, false, 400 DEFINE_bool(enable_vldr_imm, false,
405 "enable use of constant pools for double immediate (ARM only)") 401 "enable use of constant pools for double immediate (ARM only)")
406 402
407 // bootstrapper.cc 403 // bootstrapper.cc
408 DEFINE_string(expose_natives_as, NULL, "expose natives in global object") 404 DEFINE_string(expose_natives_as, NULL, "expose natives in global object")
409 DEFINE_string(expose_debug_as, NULL, "expose debug in global object") 405 DEFINE_string(expose_debug_as, NULL, "expose debug in global object")
410 DEFINE_bool(expose_gc, false, "expose gc extension") 406 DEFINE_bool(expose_gc, false, "expose gc extension")
411 DEFINE_string(expose_gc_as, 407 DEFINE_string(expose_gc_as, NULL,
412 NULL,
413 "expose gc extension under the specified name") 408 "expose gc extension under the specified name")
414 DEFINE_implication(expose_gc_as, expose_gc) 409 DEFINE_implication(expose_gc_as, expose_gc)
415 DEFINE_bool(expose_externalize_string, false, 410 DEFINE_bool(expose_externalize_string, false,
416 "expose externalize string extension") 411 "expose externalize string extension")
417 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture") 412 DEFINE_int(stack_trace_limit, 10, "number of stack frames to capture")
418 DEFINE_bool(builtins_in_stack_traces, false, 413 DEFINE_bool(builtins_in_stack_traces, false,
419 "show built-in functions in stack traces") 414 "show built-in functions in stack traces")
420 DEFINE_bool(disable_native_files, false, "disable builtin natives files") 415 DEFINE_bool(disable_native_files, false, "disable builtin natives files")
421 416
422 // builtins-ia32.cc 417 // builtins-ia32.cc
423 DEFINE_bool(inline_new, true, "use fast inline allocation") 418 DEFINE_bool(inline_new, true, "use fast inline allocation")
424 419
425 // checks.cc 420 // checks.cc
426 DEFINE_bool(stack_trace_on_abort, true, 421 DEFINE_bool(stack_trace_on_abort, true,
427 "print a stack trace if an assertion failure occurs") 422 "print a stack trace if an assertion failure occurs")
428 423
429 // codegen-ia32.cc / codegen-arm.cc 424 // codegen-ia32.cc / codegen-arm.cc
430 DEFINE_bool(trace_codegen, false, 425 DEFINE_bool(trace_codegen, false,
431 "print name of functions for which code is generated") 426 "print name of functions for which code is generated")
432 DEFINE_bool(trace, false, "trace function calls") 427 DEFINE_bool(trace, false, "trace function calls")
433 DEFINE_bool(mask_constants_with_cookie, 428 DEFINE_bool(mask_constants_with_cookie, true,
434 true,
435 "use random jit cookie to mask large constants") 429 "use random jit cookie to mask large constants")
436 430
437 // codegen.cc 431 // codegen.cc
438 DEFINE_bool(lazy, true, "use lazy compilation") 432 DEFINE_bool(lazy, true, "use lazy compilation")
439 DEFINE_bool(trace_opt, false, "trace lazy optimization") 433 DEFINE_bool(trace_opt, false, "trace lazy optimization")
440 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics") 434 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics")
441 DEFINE_bool(opt, true, "use adaptive optimizations") 435 DEFINE_bool(opt, true, "use adaptive optimizations")
442 DEFINE_bool(always_opt, false, "always try to optimize functions") 436 DEFINE_bool(always_opt, false, "always try to optimize functions")
443 DEFINE_bool(always_osr, false, "always try to OSR functions") 437 DEFINE_bool(always_osr, false, "always try to OSR functions")
444 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") 438 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt")
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 DEFINE_int(sim_stack_alignment, 8, 588 DEFINE_int(sim_stack_alignment, 8,
595 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") 589 "Stack alingment in bytes in simulator (4 or 8, 8 is default)")
596 590
597 // isolate.cc 591 // isolate.cc
598 DEFINE_bool(abort_on_uncaught_exception, false, 592 DEFINE_bool(abort_on_uncaught_exception, false,
599 "abort program (dump core) when an uncaught exception is thrown") 593 "abort program (dump core) when an uncaught exception is thrown")
600 DEFINE_bool(trace_exception, false, 594 DEFINE_bool(trace_exception, false,
601 "print stack trace when throwing exceptions") 595 "print stack trace when throwing exceptions")
602 DEFINE_bool(preallocate_message_memory, false, 596 DEFINE_bool(preallocate_message_memory, false,
603 "preallocate some memory to build stack traces.") 597 "preallocate some memory to build stack traces.")
604 DEFINE_bool(randomize_hashes, 598 DEFINE_bool(randomize_hashes, true,
605 true,
606 "randomize hashes to avoid predictable hash collisions " 599 "randomize hashes to avoid predictable hash collisions "
607 "(with snapshots this option cannot override the baked-in seed)") 600 "(with snapshots this option cannot override the baked-in seed)")
608 DEFINE_int(hash_seed, 601 DEFINE_int(hash_seed, 0,
609 0,
610 "Fixed seed to use to hash property keys (0 means random)" 602 "Fixed seed to use to hash property keys (0 means random)"
611 "(with snapshots this option cannot override the baked-in seed)") 603 "(with snapshots this option cannot override the baked-in seed)")
612 604
613 // snapshot-common.cc 605 // snapshot-common.cc
614 DEFINE_bool(profile_deserialization, 606 DEFINE_bool(profile_deserialization, false,
615 false,
616 "Print the time it takes to deserialize the snapshot.") 607 "Print the time it takes to deserialize the snapshot.")
617 608
618 // v8.cc 609 // v8.cc
619 DEFINE_bool(preemption, false, 610 DEFINE_bool(preemption, false,
620 "activate a 100ms timer that switches between V8 threads") 611 "activate a 100ms timer that switches between V8 threads")
621 612
622 // Regexp 613 // Regexp
623 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code") 614 DEFINE_bool(regexp_optimization, true, "generate optimized regexp code")
624 615
625 // Testing flags test/cctest/test-{flags,api,serialization}.cc 616 // Testing flags test/cctest/test-{flags,api,serialization}.cc
626 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag") 617 DEFINE_bool(testing_bool_flag, true, "testing_bool_flag")
627 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag") 618 DEFINE_maybe_bool(testing_maybe_bool_flag, "testing_maybe_bool_flag")
628 DEFINE_int(testing_int_flag, 13, "testing_int_flag") 619 DEFINE_int(testing_int_flag, 13, "testing_int_flag")
629 DEFINE_float(testing_float_flag, 2.5, "float-flag") 620 DEFINE_float(testing_float_flag, 2.5, "float-flag")
630 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag") 621 DEFINE_string(testing_string_flag, "Hello, world!", "string-flag")
631 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness") 622 DEFINE_int(testing_prng_seed, 42, "Seed used for threading test randomness")
632 #ifdef _WIN32 623 #ifdef _WIN32
633 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes", 624 DEFINE_string(testing_serialization_file, "C:\\Windows\\Temp\\serdes",
634 "file in which to testing_serialize heap") 625 "file in which to testing_serialize heap")
635 #else 626 #else
636 DEFINE_string(testing_serialization_file, "/tmp/serdes", 627 DEFINE_string(testing_serialization_file, "/tmp/serdes",
637 "file in which to serialize heap") 628 "file in which to serialize heap")
638 #endif 629 #endif
639 630
640 // mksnapshot.cc 631 // mksnapshot.cc
641 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in" 632 DEFINE_string(extra_code, NULL, "A filename with extra code to be included in"
642 " the snapshot (mksnapshot only)") 633 " the snapshot (mksnapshot only)")
643 634
644 // code-stubs-hydrogen.cc 635 // code-stubs-hydrogen.cc
645 DEFINE_bool(profile_hydrogen_code_stub_compilation, 636 DEFINE_bool(profile_hydrogen_code_stub_compilation, false,
646 false,
647 "Print the time it takes to lazily compile hydrogen code stubs.") 637 "Print the time it takes to lazily compile hydrogen code stubs.")
648 638
649 // 639 //
650 // Dev shell flags 640 // Dev shell flags
651 // 641 //
652 642
653 DEFINE_bool(help, false, "Print usage message, including flags, on console") 643 DEFINE_bool(help, false, "Print usage message, including flags, on console")
654 DEFINE_bool(dump_counters, false, "Dump counters on exit") 644 DEFINE_bool(dump_counters, false, "Dump counters on exit")
655 645
656 #ifdef ENABLE_DEBUGGER_SUPPORT 646 #ifdef ENABLE_DEBUGGER_SUPPORT
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 727
738 // ic.cc 728 // ic.cc
739 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") 729 DEFINE_bool(trace_ic, false, "trace inline cache state transitions")
740 730
741 // interface.cc 731 // interface.cc
742 DEFINE_bool(print_interfaces, false, "print interfaces") 732 DEFINE_bool(print_interfaces, false, "print interfaces")
743 DEFINE_bool(print_interface_details, false, "print interface inference details") 733 DEFINE_bool(print_interface_details, false, "print interface inference details")
744 DEFINE_int(print_interface_depth, 5, "depth for printing interfaces") 734 DEFINE_int(print_interface_depth, 5, "depth for printing interfaces")
745 735
746 // objects.cc 736 // objects.cc
747 DEFINE_bool(trace_normalization, 737 DEFINE_bool(trace_normalization, false,
748 false,
749 "prints when objects are turned into dictionaries.") 738 "prints when objects are turned into dictionaries.")
750 739
751 // runtime.cc 740 // runtime.cc
752 DEFINE_bool(trace_lazy, false, "trace lazy compilation") 741 DEFINE_bool(trace_lazy, false, "trace lazy compilation")
753 742
754 // spaces.cc 743 // spaces.cc
755 DEFINE_bool(collect_heap_spill_statistics, false, 744 DEFINE_bool(collect_heap_spill_statistics, false,
756 "report heap spill statistics along with heap_stats " 745 "report heap spill statistics along with heap_stats "
757 "(requires heap_stats)") 746 "(requires heap_stats)")
758 747
759 DEFINE_bool(trace_isolates, false, "trace isolate state changes") 748 DEFINE_bool(trace_isolates, false, "trace isolate state changes")
760 749
761 // Regexp 750 // Regexp
762 DEFINE_bool(regexp_possessive_quantifier, 751 DEFINE_bool(regexp_possessive_quantifier, false,
763 false,
764 "enable possessive quantifier syntax for testing") 752 "enable possessive quantifier syntax for testing")
765 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution") 753 DEFINE_bool(trace_regexp_bytecodes, false, "trace regexp bytecode execution")
766 DEFINE_bool(trace_regexp_assembler, 754 DEFINE_bool(trace_regexp_assembler, false,
767 false,
768 "trace regexp macro assembler calls.") 755 "trace regexp macro assembler calls.")
769 756
770 // 757 //
771 // Logging and profiling flags 758 // Logging and profiling flags
772 // 759 //
773 #undef FLAG 760 #undef FLAG
774 #define FLAG FLAG_FULL 761 #define FLAG FLAG_FULL
775 762
776 // log.cc 763 // log.cc
777 DEFINE_bool(log, false, 764 DEFINE_bool(log, false,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 #endif 801 #endif
815 802
816 // elements.cc 803 // elements.cc
817 DEFINE_bool(trace_elements_transitions, false, "trace elements transitions") 804 DEFINE_bool(trace_elements_transitions, false, "trace elements transitions")
818 805
819 DEFINE_bool(trace_creation_allocation_sites, false, 806 DEFINE_bool(trace_creation_allocation_sites, false,
820 "trace the creation of allocation sites") 807 "trace the creation of allocation sites")
821 808
822 // code-stubs.cc 809 // code-stubs.cc
823 DEFINE_bool(print_code_stubs, false, "print code stubs") 810 DEFINE_bool(print_code_stubs, false, "print code stubs")
824 DEFINE_bool(test_secondary_stub_cache, 811 DEFINE_bool(test_secondary_stub_cache, false,
825 false,
826 "test secondary stub cache by disabling the primary one") 812 "test secondary stub cache by disabling the primary one")
827 813
828 DEFINE_bool(test_primary_stub_cache, 814 DEFINE_bool(test_primary_stub_cache, false,
829 false,
830 "test primary stub cache by disabling the secondary one") 815 "test primary stub cache by disabling the secondary one")
831 816
832 817
833 // codegen-ia32.cc / codegen-arm.cc 818 // codegen-ia32.cc / codegen-arm.cc
834 DEFINE_bool(print_code, false, "print generated code") 819 DEFINE_bool(print_code, false, "print generated code")
835 DEFINE_bool(print_opt_code, false, "print optimized code") 820 DEFINE_bool(print_opt_code, false, "print optimized code")
836 DEFINE_bool(print_unopt_code, false, "print unoptimized code before " 821 DEFINE_bool(print_unopt_code, false, "print unoptimized code before "
837 "printing optimized code based on it") 822 "printing optimized code based on it")
838 DEFINE_bool(print_code_verbose, false, "print more information for code") 823 DEFINE_bool(print_code_verbose, false, "print more information for code")
839 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") 824 DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
840 DEFINE_bool(emit_opt_code_positions, 825 DEFINE_bool(emit_opt_code_positions, false,
841 false, "annotate optimize code with source code positions") 826 "annotate optimize code with source code positions")
842 827
843 #ifdef ENABLE_DISASSEMBLER 828 #ifdef ENABLE_DISASSEMBLER
844 DEFINE_bool(sodium, false, "print generated code output suitable for use with " 829 DEFINE_bool(sodium, false, "print generated code output suitable for use with "
845 "the Sodium code viewer") 830 "the Sodium code viewer")
846 831
847 DEFINE_implication(sodium, print_code_stubs) 832 DEFINE_implication(sodium, print_code_stubs)
848 DEFINE_implication(sodium, print_code) 833 DEFINE_implication(sodium, print_code)
849 DEFINE_implication(sodium, print_opt_code) 834 DEFINE_implication(sodium, print_opt_code)
850 DEFINE_implication(sodium, emit_opt_code_positions) 835 DEFINE_implication(sodium, emit_opt_code_positions)
851 DEFINE_implication(sodium, code_comments) 836 DEFINE_implication(sodium, code_comments)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 #undef DEFINE_ALIAS_float 877 #undef DEFINE_ALIAS_float
893 #undef DEFINE_ALIAS_args 878 #undef DEFINE_ALIAS_args
894 879
895 #undef FLAG_MODE_DECLARE 880 #undef FLAG_MODE_DECLARE
896 #undef FLAG_MODE_DEFINE 881 #undef FLAG_MODE_DEFINE
897 #undef FLAG_MODE_DEFINE_DEFAULTS 882 #undef FLAG_MODE_DEFINE_DEFAULTS
898 #undef FLAG_MODE_META 883 #undef FLAG_MODE_META
899 #undef FLAG_MODE_DEFINE_IMPLICATIONS 884 #undef FLAG_MODE_DEFINE_IMPLICATIONS
900 885
901 #undef COMMA 886 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698