Chromium Code Reviews| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 123 #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt) | 123 #define DEFINE_int(nam, def, cmt) FLAG(INT, int, nam, def, cmt) |
| 124 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) | 124 #define DEFINE_float(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt) |
| 125 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) | 125 #define DEFINE_string(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt) |
| 126 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) | 126 #define DEFINE_args(nam, def, cmt) FLAG(ARGS, JSArguments, nam, def, cmt) |
| 127 | 127 |
| 128 // | 128 // |
| 129 // Flags in all modes. | 129 // Flags in all modes. |
| 130 // | 130 // |
| 131 #define FLAG FLAG_FULL | 131 #define FLAG FLAG_FULL |
| 132 | 132 |
| 133 | |
| 134 DEFINE_bool(new_abcd, true, "use new abcd") | |
|
Jakob Kummerow
2013/03/14 12:50:09
Please move this next to FLAG_idefs. You could als
Massi
2013/03/14 15:07:18
Done.
| |
| 135 | |
| 133 // Flags for language modes and experimental language features. | 136 // Flags for language modes and experimental language features. |
| 134 DEFINE_bool(use_strict, false, "enforce strict mode") | 137 DEFINE_bool(use_strict, false, "enforce strict mode") |
| 135 DEFINE_bool(es5_readonly, true, | 138 DEFINE_bool(es5_readonly, true, |
| 136 "activate correct semantics for inheriting readonliness") | 139 "activate correct semantics for inheriting readonliness") |
| 137 DEFINE_bool(es52_globals, true, | 140 DEFINE_bool(es52_globals, true, |
| 138 "activate new semantics for global var declarations") | 141 "activate new semantics for global var declarations") |
| 139 | 142 |
| 140 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") | 143 DEFINE_bool(harmony_typeof, false, "enable harmony semantics for typeof") |
| 141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") | 144 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") |
| 142 DEFINE_bool(harmony_modules, false, | 145 DEFINE_bool(harmony_modules, false, |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 "trace the tracking of allocation sites") | 203 "trace the tracking of allocation sites") |
| 201 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") | 204 DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction") |
| 202 DEFINE_bool(stress_environments, false, "environment for every instruction") | 205 DEFINE_bool(stress_environments, false, "environment for every instruction") |
| 203 DEFINE_int(deopt_every_n_times, | 206 DEFINE_int(deopt_every_n_times, |
| 204 0, | 207 0, |
| 205 "deoptimize every n times a deopt point is passed") | 208 "deoptimize every n times a deopt point is passed") |
| 206 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") | 209 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") |
| 207 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") | 210 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") |
| 208 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") | 211 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") |
| 209 DEFINE_bool(use_osr, true, "use on-stack replacement") | 212 DEFINE_bool(use_osr, true, "use on-stack replacement") |
| 210 DEFINE_bool(idefs, false, "use informative definitions") | 213 DEFINE_bool(idefs, true, "use informative definitions") |
| 211 DEFINE_bool(array_bounds_checks_elimination, true, | 214 DEFINE_bool(array_bounds_checks_elimination, true, |
| 212 "perform array bounds checks elimination") | 215 "perform array bounds checks elimination") |
| 213 DEFINE_bool(array_index_dehoisting, true, | 216 DEFINE_bool(array_index_dehoisting, true, |
| 214 "perform array index dehoisting") | 217 "perform array index dehoisting") |
| 215 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") | 218 DEFINE_bool(dead_code_elimination, true, "use dead code elimination") |
| 216 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") | 219 DEFINE_bool(trace_dead_code_elimination, false, "trace dead code elimination") |
| 217 DEFINE_bool(unreachable_code_elimination, false, | 220 DEFINE_bool(unreachable_code_elimination, false, |
| 218 "eliminate unreachable code (hidden behind soft deopts)") | 221 "eliminate unreachable code (hidden behind soft deopts)") |
| 219 DEFINE_bool(track_allocation_sites, true, | 222 DEFINE_bool(track_allocation_sites, true, |
| 220 "Use allocation site info to reduce transitions") | 223 "Use allocation site info to reduce transitions") |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 744 #undef DEFINE_bool | 747 #undef DEFINE_bool |
| 745 #undef DEFINE_int | 748 #undef DEFINE_int |
| 746 #undef DEFINE_string | 749 #undef DEFINE_string |
| 747 #undef DEFINE_implication | 750 #undef DEFINE_implication |
| 748 | 751 |
| 749 #undef FLAG_MODE_DECLARE | 752 #undef FLAG_MODE_DECLARE |
| 750 #undef FLAG_MODE_DEFINE | 753 #undef FLAG_MODE_DEFINE |
| 751 #undef FLAG_MODE_DEFINE_DEFAULTS | 754 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 752 #undef FLAG_MODE_META | 755 #undef FLAG_MODE_META |
| 753 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 756 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| OLD | NEW |