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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 DEFINE_bool(stress_environments, false, "environment for every instruction") | 127 DEFINE_bool(stress_environments, false, "environment for every instruction") |
128 DEFINE_int(deopt_every_n_times, | 128 DEFINE_int(deopt_every_n_times, |
129 0, | 129 0, |
130 "deoptimize every n times a deopt point is passed") | 130 "deoptimize every n times a deopt point is passed") |
131 DEFINE_bool(process_arguments_object, true, "try to deal with arguments object") | 131 DEFINE_bool(process_arguments_object, true, "try to deal with arguments object") |
132 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 132 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
133 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 133 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
135 DEFINE_bool(aggressive_loop_invariant_motion, true, | 135 DEFINE_bool(aggressive_loop_invariant_motion, true, |
136 "aggressive motion of instructions out of loops") | 136 "aggressive motion of instructions out of loops") |
137 #ifdef V8_TARGET_ARCH_IA32 | 137 #ifdef V8_TARGET_ARCH_X64 |
| 138 DEFINE_bool(use_osr, false, "use on-stack replacement") |
| 139 #else |
138 DEFINE_bool(use_osr, true, "use on-stack replacement") | 140 DEFINE_bool(use_osr, true, "use on-stack replacement") |
139 #else | |
140 DEFINE_bool(use_osr, false, "use on-stack replacement") | |
141 #endif | 141 #endif |
142 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 142 DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
143 DEFINE_int(stress_runs, 0, "number of stress runs") | 143 DEFINE_int(stress_runs, 0, "number of stress runs") |
144 DEFINE_bool(optimize_closures, true, "optimize closures") | 144 DEFINE_bool(optimize_closures, true, "optimize closures") |
145 | 145 |
146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc | 146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
147 DEFINE_bool(debug_code, false, | 147 DEFINE_bool(debug_code, false, |
148 "generate extra code (assertions) for debugging") | 148 "generate extra code (assertions) for debugging") |
149 DEFINE_bool(code_comments, false, "emit comments in code disassembly") | 149 DEFINE_bool(code_comments, false, "emit comments in code disassembly") |
150 DEFINE_bool(emit_branch_hints, false, "emit branch hints") | 150 DEFINE_bool(emit_branch_hints, false, "emit branch hints") |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 #undef FLAG | 539 #undef FLAG |
540 | 540 |
541 #undef DEFINE_bool | 541 #undef DEFINE_bool |
542 #undef DEFINE_int | 542 #undef DEFINE_int |
543 #undef DEFINE_string | 543 #undef DEFINE_string |
544 | 544 |
545 #undef FLAG_MODE_DECLARE | 545 #undef FLAG_MODE_DECLARE |
546 #undef FLAG_MODE_DEFINE | 546 #undef FLAG_MODE_DEFINE |
547 #undef FLAG_MODE_DEFINE_DEFAULTS | 547 #undef FLAG_MODE_DEFINE_DEFAULTS |
548 #undef FLAG_MODE_META | 548 #undef FLAG_MODE_META |
OLD | NEW |