| 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 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 590 DEFINE_BOOL(trace_codegen, false, | 590 DEFINE_BOOL(trace_codegen, false, |
| 591 "print name of functions for which code is generated") | 591 "print name of functions for which code is generated") |
| 592 DEFINE_BOOL(trace, false, "trace function calls") | 592 DEFINE_BOOL(trace, false, "trace function calls") |
| 593 DEFINE_BOOL(mask_constants_with_cookie, true, | 593 DEFINE_BOOL(mask_constants_with_cookie, true, |
| 594 "use random jit cookie to mask large constants") | 594 "use random jit cookie to mask large constants") |
| 595 | 595 |
| 596 // codegen.cc | 596 // codegen.cc |
| 597 DEFINE_BOOL(lazy, true, "use lazy compilation") | 597 DEFINE_BOOL(lazy, true, "use lazy compilation") |
| 598 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") | 598 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") |
| 599 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 599 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
| 600 DEFINE_BOOL(trace_file_names, false, "include file names in trace output") | 600 DEFINE_BOOL(trace_file_names, false, |
| 601 "include file names in trace-opt/trace-deopt output") |
| 601 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 602 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
| 602 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 603 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
| 603 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 604 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
| 604 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 605 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
| 605 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 606 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
| 606 DEFINE_BOOL(trace_stub_failures, false, | 607 DEFINE_BOOL(trace_stub_failures, false, |
| 607 "trace deoptimization of generated code stubs") | 608 "trace deoptimization of generated code stubs") |
| 608 | 609 |
| 609 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 610 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
| 610 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") | 611 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1188 #undef DEFINE_ALIAS_FLOAT | 1189 #undef DEFINE_ALIAS_FLOAT |
| 1189 #undef DEFINE_ALIAS_ARGS | 1190 #undef DEFINE_ALIAS_ARGS |
| 1190 | 1191 |
| 1191 #undef FLAG_MODE_DECLARE | 1192 #undef FLAG_MODE_DECLARE |
| 1192 #undef FLAG_MODE_DEFINE | 1193 #undef FLAG_MODE_DEFINE |
| 1193 #undef FLAG_MODE_DEFINE_DEFAULTS | 1194 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1194 #undef FLAG_MODE_META | 1195 #undef FLAG_MODE_META |
| 1195 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1196 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1196 | 1197 |
| 1197 #undef COMMA | 1198 #undef COMMA |
| OLD | NEW |