OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") |
171 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") | 171 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") |
172 DEFINE_bool(self_optimization, false, | 172 DEFINE_bool(self_optimization, false, |
173 "primitive functions trigger their own optimization") | 173 "primitive functions trigger their own optimization") |
174 DEFINE_bool(count_based_interrupts, false, | 174 DEFINE_bool(count_based_interrupts, false, |
175 "trigger profiler ticks based on counting instead of timing") | 175 "trigger profiler ticks based on counting instead of timing") |
176 DEFINE_bool(weighted_back_edges, false, | 176 DEFINE_bool(weighted_back_edges, false, |
177 "weight back edges by jump distance for interrupt triggering") | 177 "weight back edges by jump distance for interrupt triggering") |
178 DEFINE_int(interrupt_budget, 10000, | 178 DEFINE_int(interrupt_budget, 10000, |
179 "execution budget before interrupt is triggered") | 179 "execution budget before interrupt is triggered") |
| 180 DEFINE_int(type_info_threshold, 0, |
| 181 "percentage of ICs that must have type info to allow optimization") |
180 | 182 |
181 DEFINE_implication(experimental_profiler, watch_ic_patching) | 183 DEFINE_implication(experimental_profiler, watch_ic_patching) |
182 DEFINE_implication(experimental_profiler, self_optimization) | 184 DEFINE_implication(experimental_profiler, self_optimization) |
183 DEFINE_implication(experimental_profiler, count_based_interrupts) | 185 DEFINE_implication(experimental_profiler, count_based_interrupts) |
184 DEFINE_implication(experimental_profiler, weighted_back_edges) | 186 DEFINE_implication(experimental_profiler, weighted_back_edges) |
185 | 187 |
| 188 DEFINE_bool(trace_opt_verbose, false, "extra verbose compilation tracing") |
| 189 DEFINE_implication(trace_opt_verbose, trace_opt) |
| 190 |
186 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 191 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
187 DEFINE_bool(debug_code, false, | 192 DEFINE_bool(debug_code, false, |
188 "generate extra code (assertions) for debugging") | 193 "generate extra code (assertions) for debugging") |
189 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 194 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
190 DEFINE_bool(enable_sse2, true, | 195 DEFINE_bool(enable_sse2, true, |
191 "enable use of SSE2 instructions if available") | 196 "enable use of SSE2 instructions if available") |
192 DEFINE_bool(enable_sse3, true, | 197 DEFINE_bool(enable_sse3, true, |
193 "enable use of SSE3 instructions if available") | 198 "enable use of SSE3 instructions if available") |
194 DEFINE_bool(enable_sse4_1, true, | 199 DEFINE_bool(enable_sse4_1, true, |
195 "enable use of SSE4.1 instructions if available") | 200 "enable use of SSE4.1 instructions if available") |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 #undef DEFINE_bool | 583 #undef DEFINE_bool |
579 #undef DEFINE_int | 584 #undef DEFINE_int |
580 #undef DEFINE_string | 585 #undef DEFINE_string |
581 #undef DEFINE_implication | 586 #undef DEFINE_implication |
582 | 587 |
583 #undef FLAG_MODE_DECLARE | 588 #undef FLAG_MODE_DECLARE |
584 #undef FLAG_MODE_DEFINE | 589 #undef FLAG_MODE_DEFINE |
585 #undef FLAG_MODE_DEFINE_DEFAULTS | 590 #undef FLAG_MODE_DEFINE_DEFAULTS |
586 #undef FLAG_MODE_META | 591 #undef FLAG_MODE_META |
587 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 592 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |