| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
| 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
| 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
| 8 // | 8 // |
| 9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
| 10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 | 288 |
| 289 // Flags for data representation optimizations | 289 // Flags for data representation optimizations |
| 290 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") | 290 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") |
| 291 DEFINE_BOOL(string_slices, true, "use string slices") | 291 DEFINE_BOOL(string_slices, true, "use string slices") |
| 292 | 292 |
| 293 // Flags for Ignition. | 293 // Flags for Ignition. |
| 294 DEFINE_BOOL(ignition, false, "use ignition interpreter") | 294 DEFINE_BOOL(ignition, false, "use ignition interpreter") |
| 295 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") | 295 DEFINE_BOOL(ignition_staging, false, "use ignition with all staged features") |
| 296 DEFINE_IMPLICATION(ignition_staging, ignition) | 296 DEFINE_IMPLICATION(ignition_staging, ignition) |
| 297 DEFINE_IMPLICATION(ignition_staging, ignition_osr) | 297 DEFINE_IMPLICATION(ignition_staging, ignition_osr) |
| 298 DEFINE_IMPLICATION(ignition_staging, turbo_from_bytecode) | |
| 299 DEFINE_IMPLICATION(ignition_staging, ignition_preserve_bytecode) | 298 DEFINE_IMPLICATION(ignition_staging, ignition_preserve_bytecode) |
| 300 DEFINE_BOOL(ignition_eager, false, "eagerly compile and parse with ignition") | 299 DEFINE_BOOL(ignition_eager, false, "eagerly compile and parse with ignition") |
| 301 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") | 300 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") |
| 302 DEFINE_BOOL(ignition_deadcode, true, | 301 DEFINE_BOOL(ignition_deadcode, true, |
| 303 "use ignition dead code elimination optimizer") | 302 "use ignition dead code elimination optimizer") |
| 304 DEFINE_BOOL(ignition_osr, false, "enable support for OSR from ignition code") | 303 DEFINE_BOOL(ignition_osr, false, "enable support for OSR from ignition code") |
| 305 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer") | 304 DEFINE_BOOL(ignition_peephole, true, "use ignition peephole optimizer") |
| 306 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer") | 305 DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer") |
| 307 DEFINE_BOOL(ignition_filter_expression_positions, true, | 306 DEFINE_BOOL(ignition_filter_expression_positions, true, |
| 308 "filter expression positions before the bytecode pipeline") | 307 "filter expression positions before the bytecode pipeline") |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 "block queued jobs until released") | 422 "block queued jobs until released") |
| 424 | 423 |
| 425 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, | 424 DEFINE_BOOL(omit_map_checks_for_leaf_maps, true, |
| 426 "do not emit check maps for constant values that have a leaf map, " | 425 "do not emit check maps for constant values that have a leaf map, " |
| 427 "deoptimize the optimized code if the layout of the maps changes.") | 426 "deoptimize the optimized code if the layout of the maps changes.") |
| 428 | 427 |
| 429 // Flags for TurboFan. | 428 // Flags for TurboFan. |
| 430 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") | 429 DEFINE_BOOL(turbo, false, "enable TurboFan compiler") |
| 431 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) | 430 DEFINE_IMPLICATION(turbo, turbo_asm_deoptimization) |
| 432 DEFINE_IMPLICATION(turbo, turbo_loop_peeling) | 431 DEFINE_IMPLICATION(turbo, turbo_loop_peeling) |
| 433 DEFINE_BOOL(turbo_from_bytecode, false, "enable building graphs from bytecode") | 432 DEFINE_BOOL(turbo_from_bytecode, true, "enable building graphs from bytecode") |
| 434 DEFINE_BOOL(turbo_sp_frame_access, false, | 433 DEFINE_BOOL(turbo_sp_frame_access, false, |
| 435 "use stack pointer-relative access to frame wherever possible") | 434 "use stack pointer-relative access to frame wherever possible") |
| 436 DEFINE_BOOL(turbo_preprocess_ranges, true, | 435 DEFINE_BOOL(turbo_preprocess_ranges, true, |
| 437 "run pre-register allocation heuristics") | 436 "run pre-register allocation heuristics") |
| 438 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") | 437 DEFINE_BOOL(turbo_loop_stackcheck, true, "enable stack checks in loops") |
| 439 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") | 438 DEFINE_STRING(turbo_filter, "~~", "optimization filter for TurboFan compiler") |
| 440 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") | 439 DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR") |
| 441 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") | 440 DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs") |
| 442 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) | 441 DEFINE_IMPLICATION(trace_turbo_graph, trace_turbo) |
| 443 DEFINE_STRING(trace_turbo_cfg_file, NULL, | 442 DEFINE_STRING(trace_turbo_cfg_file, NULL, |
| (...skipping 776 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1220 #undef DEFINE_ALIAS_FLOAT | 1219 #undef DEFINE_ALIAS_FLOAT |
| 1221 #undef DEFINE_ALIAS_ARGS | 1220 #undef DEFINE_ALIAS_ARGS |
| 1222 | 1221 |
| 1223 #undef FLAG_MODE_DECLARE | 1222 #undef FLAG_MODE_DECLARE |
| 1224 #undef FLAG_MODE_DEFINE | 1223 #undef FLAG_MODE_DEFINE |
| 1225 #undef FLAG_MODE_DEFINE_DEFAULTS | 1224 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1226 #undef FLAG_MODE_META | 1225 #undef FLAG_MODE_META |
| 1227 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1226 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1228 | 1227 |
| 1229 #undef COMMA | 1228 #undef COMMA |
| OLD | NEW |