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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
253 | 253 |
254 // Feature dependencies. | 254 // Feature dependencies. |
255 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy) | 255 DEFINE_IMPLICATION(harmony_sloppy_let, harmony_sloppy) |
256 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy) | 256 DEFINE_IMPLICATION(harmony_sloppy_function, harmony_sloppy) |
257 | 257 |
258 // Flags for experimental implementation features. | 258 // Flags for experimental implementation features. |
259 DEFINE_BOOL(compiled_keyed_generic_loads, false, | 259 DEFINE_BOOL(compiled_keyed_generic_loads, false, |
260 "use optimizing compiler to generate keyed generic load stubs") | 260 "use optimizing compiler to generate keyed generic load stubs") |
261 DEFINE_BOOL(allocation_site_pretenuring, true, | 261 DEFINE_BOOL(allocation_site_pretenuring, true, |
262 "pretenure with allocation sites") | 262 "pretenure with allocation sites") |
263 DEFINE_INT(page_evacuation_threshold, 0, | |
Michael Lippautz
2016/04/08 07:09:58
Will set to 90 before landing.
| |
264 "min percentage of live bytes on a page to enable fast evacuation") | |
263 DEFINE_BOOL(trace_pretenuring, false, | 265 DEFINE_BOOL(trace_pretenuring, false, |
264 "trace pretenuring decisions of HAllocate instructions") | 266 "trace pretenuring decisions of HAllocate instructions") |
265 DEFINE_BOOL(trace_pretenuring_statistics, false, | 267 DEFINE_BOOL(trace_pretenuring_statistics, false, |
266 "trace allocation site pretenuring statistics") | 268 "trace allocation site pretenuring statistics") |
267 DEFINE_BOOL(track_fields, true, "track fields with only smi values") | 269 DEFINE_BOOL(track_fields, true, "track fields with only smi values") |
268 DEFINE_BOOL(track_double_fields, true, "track fields with double values") | 270 DEFINE_BOOL(track_double_fields, true, "track fields with double values") |
269 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") | 271 DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values") |
270 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") | 272 DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields") |
271 DEFINE_BOOL(harmony_instanceof_opt, true, "optimize ES6 instanceof support") | 273 DEFINE_BOOL(harmony_instanceof_opt, true, "optimize ES6 instanceof support") |
272 DEFINE_IMPLICATION(track_double_fields, track_fields) | 274 DEFINE_IMPLICATION(track_double_fields, track_fields) |
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1162 #undef DEFINE_ALIAS_FLOAT | 1164 #undef DEFINE_ALIAS_FLOAT |
1163 #undef DEFINE_ALIAS_ARGS | 1165 #undef DEFINE_ALIAS_ARGS |
1164 | 1166 |
1165 #undef FLAG_MODE_DECLARE | 1167 #undef FLAG_MODE_DECLARE |
1166 #undef FLAG_MODE_DEFINE | 1168 #undef FLAG_MODE_DEFINE |
1167 #undef FLAG_MODE_DEFINE_DEFAULTS | 1169 #undef FLAG_MODE_DEFINE_DEFAULTS |
1168 #undef FLAG_MODE_META | 1170 #undef FLAG_MODE_META |
1169 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1171 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1170 | 1172 |
1171 #undef COMMA | 1173 #undef COMMA |
OLD | NEW |