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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
158 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 158 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
159 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 159 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
160 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 160 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
161 DEFINE_bool(use_osr, true, "use on-stack replacement") | 161 DEFINE_bool(use_osr, true, "use on-stack replacement") |
162 | 162 |
163 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 163 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
164 DEFINE_int(stress_runs, 0, "number of stress runs") | 164 DEFINE_int(stress_runs, 0, "number of stress runs") |
165 DEFINE_bool(optimize_closures, true, "optimize closures") | 165 DEFINE_bool(optimize_closures, true, "optimize closures") |
166 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 166 DEFINE_int(loop_weight, 1, "loop weight for representation inference") |
167 | 167 |
168 // Count-based optimization decisions. | 168 // Count-based optimization decisions. |
Erik Corry
2012/02/09 11:13:01
Comment needs updating.
Jakob Kummerow
2012/02/09 13:26:26
Done.
| |
169 DEFINE_bool(counting_profiler, false, "use experimental counter-based profiler") | 169 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") |
170 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | |
171 DEFINE_bool(self_optimization, false, | |
172 "primitive functions trigger their own optimization") | |
173 | |
174 DEFINE_implication(experimental_profiler, watch_ic_patching) | |
175 DEFINE_implication(experimental_profiler, self_optimization) | |
170 | 176 |
171 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 177 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
172 DEFINE_bool(debug_code, false, | 178 DEFINE_bool(debug_code, false, |
173 "generate extra code (assertions) for debugging") | 179 "generate extra code (assertions) for debugging") |
174 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 180 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
175 DEFINE_bool(enable_sse2, true, | 181 DEFINE_bool(enable_sse2, true, |
176 "enable use of SSE2 instructions if available") | 182 "enable use of SSE2 instructions if available") |
177 DEFINE_bool(enable_sse3, true, | 183 DEFINE_bool(enable_sse3, true, |
178 "enable use of SSE3 instructions if available") | 184 "enable use of SSE3 instructions if available") |
179 DEFINE_bool(enable_sse4_1, true, | 185 DEFINE_bool(enable_sse4_1, true, |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
563 #undef DEFINE_bool | 569 #undef DEFINE_bool |
564 #undef DEFINE_int | 570 #undef DEFINE_int |
565 #undef DEFINE_string | 571 #undef DEFINE_string |
566 #undef DEFINE_implication | 572 #undef DEFINE_implication |
567 | 573 |
568 #undef FLAG_MODE_DECLARE | 574 #undef FLAG_MODE_DECLARE |
569 #undef FLAG_MODE_DEFINE | 575 #undef FLAG_MODE_DEFINE |
570 #undef FLAG_MODE_DEFINE_DEFAULTS | 576 #undef FLAG_MODE_DEFINE_DEFAULTS |
571 #undef FLAG_MODE_META | 577 #undef FLAG_MODE_META |
572 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 578 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |