| 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 | 394 |
| 395 // Profiler flags. | 395 // Profiler flags. |
| 396 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 396 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
| 397 // 0x1800 fits in the immediate field of an ARM instruction. | 397 // 0x1800 fits in the immediate field of an ARM instruction. |
| 398 DEFINE_INT(interrupt_budget, 0x1800, | 398 DEFINE_INT(interrupt_budget, 0x1800, |
| 399 "execution budget before interrupt is triggered") | 399 "execution budget before interrupt is triggered") |
| 400 DEFINE_INT(type_info_threshold, 25, | 400 DEFINE_INT(type_info_threshold, 25, |
| 401 "percentage of ICs that must have type info to allow optimization") | 401 "percentage of ICs that must have type info to allow optimization") |
| 402 DEFINE_INT(generic_ic_threshold, 30, | 402 DEFINE_INT(generic_ic_threshold, 30, |
| 403 "max percentage of megamorphic/generic ICs to allow optimization") | 403 "max percentage of megamorphic/generic ICs to allow optimization") |
| 404 DEFINE_INT(self_opt_count, 130, "call count before self-optimization") | |
| 405 | 404 |
| 406 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing") | 405 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing") |
| 407 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) | 406 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) |
| 408 | 407 |
| 409 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 408 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
| 410 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") | 409 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") |
| 411 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") | 410 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") |
| 412 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") | 411 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") |
| 413 DEFINE_BOOL(enable_sse4_1, true, | 412 DEFINE_BOOL(enable_sse4_1, true, |
| 414 "enable use of SSE4.1 instructions if available") | 413 "enable use of SSE4.1 instructions if available") |
| (...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 #undef DEFINE_ALIAS_FLOAT | 977 #undef DEFINE_ALIAS_FLOAT |
| 979 #undef DEFINE_ALIAS_ARGS | 978 #undef DEFINE_ALIAS_ARGS |
| 980 | 979 |
| 981 #undef FLAG_MODE_DECLARE | 980 #undef FLAG_MODE_DECLARE |
| 982 #undef FLAG_MODE_DEFINE | 981 #undef FLAG_MODE_DEFINE |
| 983 #undef FLAG_MODE_DEFINE_DEFAULTS | 982 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 984 #undef FLAG_MODE_META | 983 #undef FLAG_MODE_META |
| 985 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 984 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 986 | 985 |
| 987 #undef COMMA | 986 #undef COMMA |
| OLD | NEW |