| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 478 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
| 479 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 479 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
| 480 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 480 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
| 481 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 481 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
| 482 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 482 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
| 483 DEFINE_BOOL(trace_stub_failures, false, | 483 DEFINE_BOOL(trace_stub_failures, false, |
| 484 "trace deoptimization of generated code stubs") | 484 "trace deoptimization of generated code stubs") |
| 485 | 485 |
| 486 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 486 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
| 487 DEFINE_BOOL(serialize_inner, false, "enable caching of inner functions") | 487 DEFINE_BOOL(serialize_inner, false, "enable caching of inner functions") |
| 488 DEFINE_BOOL(trace_code_serializer, false, "print code serializer trace") | 488 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
| 489 | 489 |
| 490 // compiler.cc | 490 // compiler.cc |
| 491 DEFINE_INT(min_preparse_length, 1024, | 491 DEFINE_INT(min_preparse_length, 1024, |
| 492 "minimum length for automatic enable preparsing") | 492 "minimum length for automatic enable preparsing") |
| 493 DEFINE_INT(max_opt_count, 10, | 493 DEFINE_INT(max_opt_count, 10, |
| 494 "maximum number of optimization attempts before giving up.") | 494 "maximum number of optimization attempts before giving up.") |
| 495 | 495 |
| 496 // compilation-cache.cc | 496 // compilation-cache.cc |
| 497 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") | 497 DEFINE_BOOL(compilation_cache, true, "enable compilation cache") |
| 498 | 498 |
| (...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 #undef DEFINE_ALIAS_FLOAT | 989 #undef DEFINE_ALIAS_FLOAT |
| 990 #undef DEFINE_ALIAS_ARGS | 990 #undef DEFINE_ALIAS_ARGS |
| 991 | 991 |
| 992 #undef FLAG_MODE_DECLARE | 992 #undef FLAG_MODE_DECLARE |
| 993 #undef FLAG_MODE_DEFINE | 993 #undef FLAG_MODE_DEFINE |
| 994 #undef FLAG_MODE_DEFINE_DEFAULTS | 994 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 995 #undef FLAG_MODE_META | 995 #undef FLAG_MODE_META |
| 996 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 996 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 997 | 997 |
| 998 #undef COMMA | 998 #undef COMMA |
| OLD | NEW |