| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 162 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 162 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 
| 163 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 163 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 
| 164 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 164 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 
| 165 DEFINE_bool(use_osr, true, "use on-stack replacement") | 165 DEFINE_bool(use_osr, true, "use on-stack replacement") | 
| 166 | 166 | 
| 167 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 167 DEFINE_bool(trace_osr, false, "trace on-stack replacement") | 
| 168 DEFINE_int(stress_runs, 0, "number of stress runs") | 168 DEFINE_int(stress_runs, 0, "number of stress runs") | 
| 169 DEFINE_bool(optimize_closures, true, "optimize closures") | 169 DEFINE_bool(optimize_closures, true, "optimize closures") | 
| 170 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 170 DEFINE_int(loop_weight, 1, "loop weight for representation inference") | 
| 171 | 171 | 
| 172 DEFINE_bool(optimize_for_in, false, | 172 DEFINE_bool(optimize_for_in, true, | 
| 173             "optimize functions containing for-in loops") | 173             "optimize functions containing for-in loops") | 
| 174 | 174 | 
| 175 // Experimental profiler changes. | 175 // Experimental profiler changes. | 
| 176 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") | 176 DEFINE_bool(experimental_profiler, false, "enable all profiler experiments") | 
| 177 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 177 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") | 
| 178 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") | 178 DEFINE_int(frame_count, 2, "number of stack frames inspected by the profiler") | 
| 179 DEFINE_bool(self_optimization, false, | 179 DEFINE_bool(self_optimization, false, | 
| 180             "primitive functions trigger their own optimization") | 180             "primitive functions trigger their own optimization") | 
| 181 DEFINE_bool(count_based_interrupts, false, | 181 DEFINE_bool(count_based_interrupts, false, | 
| 182             "trigger profiler ticks based on counting instead of timing") | 182             "trigger profiler ticks based on counting instead of timing") | 
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 593 #undef DEFINE_bool | 593 #undef DEFINE_bool | 
| 594 #undef DEFINE_int | 594 #undef DEFINE_int | 
| 595 #undef DEFINE_string | 595 #undef DEFINE_string | 
| 596 #undef DEFINE_implication | 596 #undef DEFINE_implication | 
| 597 | 597 | 
| 598 #undef FLAG_MODE_DECLARE | 598 #undef FLAG_MODE_DECLARE | 
| 599 #undef FLAG_MODE_DEFINE | 599 #undef FLAG_MODE_DEFINE | 
| 600 #undef FLAG_MODE_DEFINE_DEFAULTS | 600 #undef FLAG_MODE_DEFINE_DEFAULTS | 
| 601 #undef FLAG_MODE_META | 601 #undef FLAG_MODE_META | 
| 602 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 602 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 
| OLD | NEW | 
|---|