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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 DEFINE_bool(mask_constants_with_cookie, | 387 DEFINE_bool(mask_constants_with_cookie, |
388 true, | 388 true, |
389 "use random jit cookie to mask large constants") | 389 "use random jit cookie to mask large constants") |
390 | 390 |
391 // codegen.cc | 391 // codegen.cc |
392 DEFINE_bool(lazy, true, "use lazy compilation") | 392 DEFINE_bool(lazy, true, "use lazy compilation") |
393 DEFINE_bool(trace_opt, false, "trace lazy optimization") | 393 DEFINE_bool(trace_opt, false, "trace lazy optimization") |
394 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics") | 394 DEFINE_bool(trace_opt_stats, false, "trace lazy optimization statistics") |
395 DEFINE_bool(opt, true, "use adaptive optimizations") | 395 DEFINE_bool(opt, true, "use adaptive optimizations") |
396 DEFINE_bool(always_opt, false, "always try to optimize functions") | 396 DEFINE_bool(always_opt, false, "always try to optimize functions") |
| 397 DEFINE_bool(always_osr, false, "always try to OSR functions") |
397 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") | 398 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") |
398 DEFINE_bool(trace_deopt, false, "trace optimize function deoptimization") | 399 DEFINE_bool(trace_deopt, false, "trace optimize function deoptimization") |
399 DEFINE_bool(trace_stub_failures, false, | 400 DEFINE_bool(trace_stub_failures, false, |
400 "trace deoptimization of generated code stubs") | 401 "trace deoptimization of generated code stubs") |
401 | 402 |
402 // compiler.cc | 403 // compiler.cc |
403 DEFINE_int(min_preparse_length, 1024, | 404 DEFINE_int(min_preparse_length, 1024, |
404 "minimum length for automatic enable preparsing") | 405 "minimum length for automatic enable preparsing") |
405 DEFINE_bool(always_full_compiler, false, | 406 DEFINE_bool(always_full_compiler, false, |
406 "try to use the dedicated run-once backend for all code") | 407 "try to use the dedicated run-once backend for all code") |
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 #undef DEFINE_bool | 792 #undef DEFINE_bool |
792 #undef DEFINE_int | 793 #undef DEFINE_int |
793 #undef DEFINE_string | 794 #undef DEFINE_string |
794 #undef DEFINE_implication | 795 #undef DEFINE_implication |
795 | 796 |
796 #undef FLAG_MODE_DECLARE | 797 #undef FLAG_MODE_DECLARE |
797 #undef FLAG_MODE_DEFINE | 798 #undef FLAG_MODE_DEFINE |
798 #undef FLAG_MODE_DEFINE_DEFAULTS | 799 #undef FLAG_MODE_DEFINE_DEFAULTS |
799 #undef FLAG_MODE_META | 800 #undef FLAG_MODE_META |
800 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 801 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |