| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
| 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
| 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
| 8 // | 8 // |
| 9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
| 10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 // heap-snapshot-generator.cc | 529 // heap-snapshot-generator.cc |
| 530 DEFINE_BOOL(heap_profiler_trace_objects, false, | 530 DEFINE_BOOL(heap_profiler_trace_objects, false, |
| 531 "Dump heap object allocations/movements/size_updates") | 531 "Dump heap object allocations/movements/size_updates") |
| 532 | 532 |
| 533 | 533 |
| 534 // v8.cc | 534 // v8.cc |
| 535 DEFINE_BOOL(use_idle_notification, true, | 535 DEFINE_BOOL(use_idle_notification, true, |
| 536 "Use idle notification to reduce memory footprint.") | 536 "Use idle notification to reduce memory footprint.") |
| 537 // ic.cc | 537 // ic.cc |
| 538 DEFINE_BOOL(use_ic, true, "use inline caching") | 538 DEFINE_BOOL(use_ic, true, "use inline caching") |
| 539 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") |
| 539 | 540 |
| 540 // macro-assembler-ia32.cc | 541 // macro-assembler-ia32.cc |
| 541 DEFINE_BOOL(native_code_counters, false, | 542 DEFINE_BOOL(native_code_counters, false, |
| 542 "generate extra code for manipulating stats counters") | 543 "generate extra code for manipulating stats counters") |
| 543 | 544 |
| 544 // mark-compact.cc | 545 // mark-compact.cc |
| 545 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") | 546 DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC") |
| 546 DEFINE_BOOL(never_compact, false, | 547 DEFINE_BOOL(never_compact, false, |
| 547 "Never perform compaction on full GC - testing only") | 548 "Never perform compaction on full GC - testing only") |
| 548 DEFINE_BOOL(compact_code_space, true, | 549 DEFINE_BOOL(compact_code_space, true, |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 717 | 718 |
| 718 // heap.cc | 719 // heap.cc |
| 719 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") | 720 DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection") |
| 720 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") | 721 DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC") |
| 721 DEFINE_BOOL(code_stats, false, "report code statistics after GC") | 722 DEFINE_BOOL(code_stats, false, "report code statistics after GC") |
| 722 DEFINE_BOOL(verify_native_context_separation, false, | 723 DEFINE_BOOL(verify_native_context_separation, false, |
| 723 "verify that code holds on to at most one native context after GC") | 724 "verify that code holds on to at most one native context after GC") |
| 724 DEFINE_BOOL(print_handles, false, "report handles after GC") | 725 DEFINE_BOOL(print_handles, false, "report handles after GC") |
| 725 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") | 726 DEFINE_BOOL(print_global_handles, false, "report global handles after GC") |
| 726 | 727 |
| 727 // ic.cc | |
| 728 DEFINE_BOOL(trace_ic, false, "trace inline cache state transitions") | |
| 729 | |
| 730 // interface.cc | 728 // interface.cc |
| 731 DEFINE_BOOL(print_interfaces, false, "print interfaces") | 729 DEFINE_BOOL(print_interfaces, false, "print interfaces") |
| 732 DEFINE_BOOL(print_interface_details, false, "print interface inference details") | 730 DEFINE_BOOL(print_interface_details, false, "print interface inference details") |
| 733 DEFINE_INT(print_interface_depth, 5, "depth for printing interfaces") | 731 DEFINE_INT(print_interface_depth, 5, "depth for printing interfaces") |
| 734 | 732 |
| 735 // objects.cc | 733 // objects.cc |
| 736 DEFINE_BOOL(trace_normalization, false, | 734 DEFINE_BOOL(trace_normalization, false, |
| 737 "prints when objects are turned into dictionaries.") | 735 "prints when objects are turned into dictionaries.") |
| 738 | 736 |
| 739 // runtime.cc | 737 // runtime.cc |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 #undef DEFINE_ALIAS_FLOAT | 910 #undef DEFINE_ALIAS_FLOAT |
| 913 #undef DEFINE_ALIAS_ARGS | 911 #undef DEFINE_ALIAS_ARGS |
| 914 | 912 |
| 915 #undef FLAG_MODE_DECLARE | 913 #undef FLAG_MODE_DECLARE |
| 916 #undef FLAG_MODE_DEFINE | 914 #undef FLAG_MODE_DEFINE |
| 917 #undef FLAG_MODE_DEFINE_DEFAULTS | 915 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 918 #undef FLAG_MODE_META | 916 #undef FLAG_MODE_META |
| 919 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 917 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 920 | 918 |
| 921 #undef COMMA | 919 #undef COMMA |
| OLD | NEW |