| 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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 DEFINE_BOOL(lazy, true, "use lazy compilation") | 528 DEFINE_BOOL(lazy, true, "use lazy compilation") |
| 529 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") | 529 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") |
| 530 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 530 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
| 531 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 531 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
| 532 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 532 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
| 533 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 533 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
| 534 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 534 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
| 535 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 535 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
| 536 DEFINE_BOOL(trace_stub_failures, false, | 536 DEFINE_BOOL(trace_stub_failures, false, |
| 537 "trace deoptimization of generated code stubs") | 537 "trace deoptimization of generated code stubs") |
| 538 #ifdef DEBUG |
| 539 DEFINE_BOOL(always_recompile_debug, false, "always recompile for debug code") |
| 540 #endif |
| 538 | 541 |
| 539 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 542 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
| 540 DEFINE_BOOL(serialize_inner, true, "enable caching of inner functions") | 543 DEFINE_BOOL(serialize_inner, true, "enable caching of inner functions") |
| 541 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") | 544 DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
| 542 | 545 |
| 543 // compiler.cc | 546 // compiler.cc |
| 544 DEFINE_INT(min_preparse_length, 1024, | 547 DEFINE_INT(min_preparse_length, 1024, |
| 545 "minimum length for automatic enable preparsing") | 548 "minimum length for automatic enable preparsing") |
| 546 DEFINE_INT(max_opt_count, 10, | 549 DEFINE_INT(max_opt_count, 10, |
| 547 "maximum number of optimization attempts before giving up.") | 550 "maximum number of optimization attempts before giving up.") |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 #undef DEFINE_ALIAS_FLOAT | 1076 #undef DEFINE_ALIAS_FLOAT |
| 1074 #undef DEFINE_ALIAS_ARGS | 1077 #undef DEFINE_ALIAS_ARGS |
| 1075 | 1078 |
| 1076 #undef FLAG_MODE_DECLARE | 1079 #undef FLAG_MODE_DECLARE |
| 1077 #undef FLAG_MODE_DEFINE | 1080 #undef FLAG_MODE_DEFINE |
| 1078 #undef FLAG_MODE_DEFINE_DEFAULTS | 1081 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1079 #undef FLAG_MODE_META | 1082 #undef FLAG_MODE_META |
| 1080 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1083 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1081 | 1084 |
| 1082 #undef COMMA | 1085 #undef COMMA |
| OLD | NEW |