Chromium Code Reviews| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 195 // Features that are still work in progress (behind individual flags). | 195 // Features that are still work in progress (behind individual flags). |
| 196 #define HARMONY_INPROGRESS(V) \ | 196 #define HARMONY_INPROGRESS(V) \ |
| 197 V(harmony_modules, "harmony modules") \ | 197 V(harmony_modules, "harmony modules") \ |
| 198 V(harmony_proxies, "harmony proxies") \ | 198 V(harmony_proxies, "harmony proxies") \ |
| 199 V(harmony_unicode_regexps, "harmony unicode regexps") \ | 199 V(harmony_unicode_regexps, "harmony unicode regexps") \ |
| 200 V(harmony_reflect, "harmony Reflect API") \ | 200 V(harmony_reflect, "harmony Reflect API") \ |
| 201 V(harmony_sloppy_function, "harmony sloppy function block scoping") \ | 201 V(harmony_sloppy_function, "harmony sloppy function block scoping") \ |
| 202 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \ | 202 V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \ |
| 203 V(harmony_simd, "harmony simd") \ | 203 V(harmony_simd, "harmony simd") \ |
| 204 V(harmony_do_expressions, "harmony do-expressions") \ | 204 V(harmony_do_expressions, "harmony do-expressions") \ |
| 205 V(harmony_regexp_subclass, "harmony regexp subclassing") | 205 V(harmony_regexp_subclass, "harmony regexp subclassing") \ |
| 206 V(harmony_destructuring_assignment, "harmony destructuring assignment") | |
| 206 | 207 |
| 207 // Features that are complete (but still behind --harmony/es-staging flag). | 208 // Features that are complete (but still behind --harmony/es-staging flag). |
| 208 #define HARMONY_STAGED(V) \ | 209 #define HARMONY_STAGED(V) \ |
| 209 V(harmony_destructuring, "harmony destructuring") \ | 210 V(harmony_destructuring, "harmony destructuring") \ |
| 210 V(harmony_regexps, "harmony regular expression extensions") \ | 211 V(harmony_regexps, "harmony regular expression extensions") \ |
| 211 V(harmony_sloppy, "harmony features in sloppy mode") \ | 212 V(harmony_sloppy, "harmony features in sloppy mode") \ |
| 212 V(harmony_sloppy_let, "harmony let in sloppy mode") | 213 V(harmony_sloppy_let, "harmony let in sloppy mode") |
| 213 | 214 |
| 214 // Features that are shipping (turned on by default, but internal flag remains). | 215 // Features that are shipping (turned on by default, but internal flag remains). |
| 215 #define HARMONY_SHIPPING(V) \ | 216 #define HARMONY_SHIPPING(V) \ |
| (...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 667 "old code (required for code flushing)") | 668 "old code (required for code flushing)") |
| 668 DEFINE_BOOL(incremental_marking, true, "use incremental marking") | 669 DEFINE_BOOL(incremental_marking, true, "use incremental marking") |
| 669 DEFINE_BOOL(finalize_marking_incrementally, true, | 670 DEFINE_BOOL(finalize_marking_incrementally, true, |
| 670 "finalize marking in incremental steps") | 671 "finalize marking in incremental steps") |
| 671 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, | 672 DEFINE_INT(min_progress_during_incremental_marking_finalization, 32, |
| 672 "keep finalizing incremental marking as long as we discover at " | 673 "keep finalizing incremental marking as long as we discover at " |
| 673 "least this many unmarked objects") | 674 "least this many unmarked objects") |
| 674 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, | 675 DEFINE_INT(max_incremental_marking_finalization_rounds, 3, |
| 675 "at most try this many times to finalize incremental marking") | 676 "at most try this many times to finalize incremental marking") |
| 676 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") | 677 DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping") |
| 677 DEFINE_BOOL(parallel_compaction, false, "use parallel compaction") | 678 DEFINE_BOOL(parallel_compaction, true, "use parallel compaction") |
|
adamk
2015/11/20 22:42:58
Looks like a stray change here
caitp (gmail)
2015/11/20 23:10:25
It's from a rebase, so not everything in the inter
adamk
2015/11/20 23:16:54
This shows up in the whole diff, not the interdiff
| |
| 678 DEFINE_BOOL(trace_incremental_marking, false, | 679 DEFINE_BOOL(trace_incremental_marking, false, |
| 679 "trace progress of the incremental marking") | 680 "trace progress of the incremental marking") |
| 680 DEFINE_BOOL(track_gc_object_stats, false, | 681 DEFINE_BOOL(track_gc_object_stats, false, |
| 681 "track object counts and memory usage") | 682 "track object counts and memory usage") |
| 682 DEFINE_BOOL(trace_gc_object_stats, false, | 683 DEFINE_BOOL(trace_gc_object_stats, false, |
| 683 "trace object counts and memory usage") | 684 "trace object counts and memory usage") |
| 684 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) | 685 DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats) |
| 685 DEFINE_BOOL(track_detached_contexts, true, | 686 DEFINE_BOOL(track_detached_contexts, true, |
| 686 "track native contexts that are expected to be garbage collected") | 687 "track native contexts that are expected to be garbage collected") |
| 687 DEFINE_BOOL(trace_detached_contexts, false, | 688 DEFINE_BOOL(trace_detached_contexts, false, |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1120 #undef DEFINE_ALIAS_FLOAT | 1121 #undef DEFINE_ALIAS_FLOAT |
| 1121 #undef DEFINE_ALIAS_ARGS | 1122 #undef DEFINE_ALIAS_ARGS |
| 1122 | 1123 |
| 1123 #undef FLAG_MODE_DECLARE | 1124 #undef FLAG_MODE_DECLARE |
| 1124 #undef FLAG_MODE_DEFINE | 1125 #undef FLAG_MODE_DEFINE |
| 1125 #undef FLAG_MODE_DEFINE_DEFAULTS | 1126 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1126 #undef FLAG_MODE_META | 1127 #undef FLAG_MODE_META |
| 1127 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1128 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1128 | 1129 |
| 1129 #undef COMMA | 1130 #undef COMMA |
| OLD | NEW |