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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 377 DEFINE_BOOL(store_elimination, false, "use store elimination") | 377 DEFINE_BOOL(store_elimination, false, "use store elimination") |
| 378 DEFINE_BOOL(dead_code_elimination, true, "use dead code elimination") | 378 DEFINE_BOOL(dead_code_elimination, true, "use dead code elimination") |
| 379 DEFINE_BOOL(fold_constants, true, "use constant folding") | 379 DEFINE_BOOL(fold_constants, true, "use constant folding") |
| 380 DEFINE_BOOL(trace_dead_code_elimination, false, "trace dead code elimination") | 380 DEFINE_BOOL(trace_dead_code_elimination, false, "trace dead code elimination") |
| 381 DEFINE_BOOL(unreachable_code_elimination, true, "eliminate unreachable code") | 381 DEFINE_BOOL(unreachable_code_elimination, true, "eliminate unreachable code") |
| 382 DEFINE_BOOL(trace_osr, false, "trace on-stack replacement") | 382 DEFINE_BOOL(trace_osr, false, "trace on-stack replacement") |
| 383 DEFINE_INT(stress_runs, 0, "number of stress runs") | 383 DEFINE_INT(stress_runs, 0, "number of stress runs") |
| 384 DEFINE_BOOL(lookup_sample_by_shared, true, | 384 DEFINE_BOOL(lookup_sample_by_shared, true, |
| 385 "when picking a function to optimize, watch for shared function " | 385 "when picking a function to optimize, watch for shared function " |
| 386 "info, not JSFunction itself") | 386 "info, not JSFunction itself") |
| 387 DEFINE_BOOL(flush_optimized_code_cache, true, | 387 DEFINE_BOOL(flush_optimized_code_cache, false, |
|
Michael Starzinger
2015/11/27 10:06:39
I assume this is only for the try-jobs and we want
mvstanton
2015/12/01 11:28:15
Correct! Setting it back to true :).
| |
| 388 "flushes the cache of optimized code for closures on every GC") | 388 "flushes the cache of optimized code for closures on every GC") |
| 389 DEFINE_BOOL(inline_construct, true, "inline constructor calls") | 389 DEFINE_BOOL(inline_construct, true, "inline constructor calls") |
| 390 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") | 390 DEFINE_BOOL(inline_arguments, true, "inline functions with arguments object") |
| 391 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") | 391 DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors") |
| 392 DEFINE_INT(escape_analysis_iterations, 2, | 392 DEFINE_INT(escape_analysis_iterations, 2, |
| 393 "maximum number of escape analysis fix-point iterations") | 393 "maximum number of escape analysis fix-point iterations") |
| 394 | 394 |
| 395 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") | 395 DEFINE_BOOL(optimize_for_in, true, "optimize functions containing for-in loops") |
| 396 | 396 |
| 397 DEFINE_BOOL(concurrent_recompilation, true, | 397 DEFINE_BOOL(concurrent_recompilation, true, |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1125 #undef DEFINE_ALIAS_FLOAT | 1125 #undef DEFINE_ALIAS_FLOAT |
| 1126 #undef DEFINE_ALIAS_ARGS | 1126 #undef DEFINE_ALIAS_ARGS |
| 1127 | 1127 |
| 1128 #undef FLAG_MODE_DECLARE | 1128 #undef FLAG_MODE_DECLARE |
| 1129 #undef FLAG_MODE_DEFINE | 1129 #undef FLAG_MODE_DEFINE |
| 1130 #undef FLAG_MODE_DEFINE_DEFAULTS | 1130 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1131 #undef FLAG_MODE_META | 1131 #undef FLAG_MODE_META |
| 1132 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1132 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1133 | 1133 |
| 1134 #undef COMMA | 1134 #undef COMMA |
| OLD | NEW |