OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 134 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
135 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 135 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
136 DEFINE_bool(aggressive_loop_invariant_motion, true, | 136 DEFINE_bool(aggressive_loop_invariant_motion, true, |
137 "aggressive motion of instructions out of loops") | 137 "aggressive motion of instructions out of loops") |
138 #ifdef V8_TARGET_ARCH_IA32 | 138 #ifdef V8_TARGET_ARCH_IA32 |
139 DEFINE_bool(use_osr, true, "use on-stack replacement") | 139 DEFINE_bool(use_osr, true, "use on-stack replacement") |
140 #else | 140 #else |
141 DEFINE_bool(use_osr, false, "use on-stack replacement") | 141 DEFINE_bool(use_osr, false, "use on-stack replacement") |
142 #endif | 142 #endif |
143 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 143 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
| 144 DEFINE_bool(optimize_closures, true, "optimize closures") |
144 | 145 |
145 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
146 DEFINE_bool(debug_code, false, | 147 DEFINE_bool(debug_code, false, |
147 "generate extra code (assertions) for debugging") | 148 "generate extra code (assertions) for debugging") |
148 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 149 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
149 DEFINE_bool(emit_branch_hints, false, "emit branch hints") | 150 DEFINE_bool(emit_branch_hints, false, "emit branch hints") |
150 DEFINE_bool(peephole_optimization, true, | 151 DEFINE_bool(peephole_optimization, true, |
151 "perform peephole optimizations in assembly code") | 152 "perform peephole optimizations in assembly code") |
152 DEFINE_bool(print_peephole_optimization, false, | 153 DEFINE_bool(print_peephole_optimization, false, |
153 "print peephole optimizations in assembly code") | 154 "print peephole optimizations in assembly code") |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 #undef FLAG | 512 #undef FLAG |
512 | 513 |
513 #undef DEFINE_bool | 514 #undef DEFINE_bool |
514 #undef DEFINE_int | 515 #undef DEFINE_int |
515 #undef DEFINE_string | 516 #undef DEFINE_string |
516 | 517 |
517 #undef FLAG_MODE_DECLARE | 518 #undef FLAG_MODE_DECLARE |
518 #undef FLAG_MODE_DEFINE | 519 #undef FLAG_MODE_DEFINE |
519 #undef FLAG_MODE_DEFINE_DEFAULTS | 520 #undef FLAG_MODE_DEFINE_DEFAULTS |
520 #undef FLAG_MODE_META | 521 #undef FLAG_MODE_META |
OLD | NEW |