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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 true, | 337 true, |
338 "use random jit cookie to mask large constants") | 338 "use random jit cookie to mask large constants") |
339 | 339 |
340 // codegen.cc | 340 // codegen.cc |
341 DEFINE_bool(lazy, true, "use lazy compilation") | 341 DEFINE_bool(lazy, true, "use lazy compilation") |
342 DEFINE_bool(trace_opt, false, "trace lazy optimization") | 342 DEFINE_bool(trace_opt, false, "trace lazy optimization") |
343 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics") | 343 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics") |
344 DEFINE_bool(opt, true, "use adaptive optimizations") | 344 DEFINE_bool(opt, true, "use adaptive optimizations") |
345 DEFINE_bool(always_opt, false, "always try to optimize functions") | 345 DEFINE_bool(always_opt, false, "always try to optimize functions") |
346 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") | 346 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") |
347 DEFINE_bool(trace_deopt, false, "trace deoptimization") | 347 DEFINE_bool(trace_deopt, false, "trace optimize function deoptimization") |
| 348 DEFINE_bool(trace_stub_failures, false, |
| 349 "trace deoptimization of generated code stubs") |
348 | 350 |
349 // compiler.cc | 351 // compiler.cc |
350 DEFINE_int(min_preparse_length, 1024, | 352 DEFINE_int(min_preparse_length, 1024, |
351 "minimum length for automatic enable preparsing") | 353 "minimum length for automatic enable preparsing") |
352 DEFINE_bool(always_full_compiler, false, | 354 DEFINE_bool(always_full_compiler, false, |
353 "try to use the dedicated run-once backend for all code") | 355 "try to use the dedicated run-once backend for all code") |
354 DEFINE_int(max_opt_count, 10, | 356 DEFINE_int(max_opt_count, 10, |
355 "maximum number of optimization attempts before giving up.") | 357 "maximum number of optimization attempts before giving up.") |
356 | 358 |
357 // compilation-cache.cc | 359 // compilation-cache.cc |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 #undef DEFINE_bool | 733 #undef DEFINE_bool |
732 #undef DEFINE_int | 734 #undef DEFINE_int |
733 #undef DEFINE_string | 735 #undef DEFINE_string |
734 #undef DEFINE_implication | 736 #undef DEFINE_implication |
735 | 737 |
736 #undef FLAG_MODE_DECLARE | 738 #undef FLAG_MODE_DECLARE |
737 #undef FLAG_MODE_DEFINE | 739 #undef FLAG_MODE_DEFINE |
738 #undef FLAG_MODE_DEFINE_DEFAULTS | 740 #undef FLAG_MODE_DEFINE_DEFAULTS |
739 #undef FLAG_MODE_META | 741 #undef FLAG_MODE_META |
740 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 742 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |