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 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 DEFINE_BOOL(trace_codegen, false, | 566 DEFINE_BOOL(trace_codegen, false, |
567 "print name of functions for which code is generated") | 567 "print name of functions for which code is generated") |
568 DEFINE_BOOL(trace, false, "trace function calls") | 568 DEFINE_BOOL(trace, false, "trace function calls") |
569 DEFINE_BOOL(mask_constants_with_cookie, true, | 569 DEFINE_BOOL(mask_constants_with_cookie, true, |
570 "use random jit cookie to mask large constants") | 570 "use random jit cookie to mask large constants") |
571 | 571 |
572 // codegen.cc | 572 // codegen.cc |
573 DEFINE_BOOL(lazy, true, "use lazy compilation") | 573 DEFINE_BOOL(lazy, true, "use lazy compilation") |
574 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") | 574 DEFINE_BOOL(trace_opt, false, "trace lazy optimization") |
575 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") | 575 DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics") |
| 576 DEFINE_BOOL(trace_file_names, false, |
| 577 "include file names in trace-opt/trace-deopt output") |
576 DEFINE_BOOL(opt, true, "use adaptive optimizations") | 578 DEFINE_BOOL(opt, true, "use adaptive optimizations") |
577 DEFINE_BOOL(always_opt, false, "always try to optimize functions") | 579 DEFINE_BOOL(always_opt, false, "always try to optimize functions") |
578 DEFINE_BOOL(always_osr, false, "always try to OSR functions") | 580 DEFINE_BOOL(always_osr, false, "always try to OSR functions") |
579 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") | 581 DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt") |
580 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") | 582 DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization") |
581 DEFINE_BOOL(trace_stub_failures, false, | 583 DEFINE_BOOL(trace_stub_failures, false, |
582 "trace deoptimization of generated code stubs") | 584 "trace deoptimization of generated code stubs") |
583 | 585 |
584 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") | 586 DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
585 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") | 587 DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") |
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 #undef DEFINE_ALIAS_FLOAT | 1168 #undef DEFINE_ALIAS_FLOAT |
1167 #undef DEFINE_ALIAS_ARGS | 1169 #undef DEFINE_ALIAS_ARGS |
1168 | 1170 |
1169 #undef FLAG_MODE_DECLARE | 1171 #undef FLAG_MODE_DECLARE |
1170 #undef FLAG_MODE_DEFINE | 1172 #undef FLAG_MODE_DEFINE |
1171 #undef FLAG_MODE_DEFINE_DEFAULTS | 1173 #undef FLAG_MODE_DEFINE_DEFAULTS |
1172 #undef FLAG_MODE_META | 1174 #undef FLAG_MODE_META |
1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1175 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1174 | 1176 |
1175 #undef COMMA | 1177 #undef COMMA |
OLD | NEW |