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 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
512 DEFINE_INT(trace_wasm_text_start, 0, | 512 DEFINE_INT(trace_wasm_text_start, 0, |
513 "start function for WASM text generation (inclusive)") | 513 "start function for WASM text generation (inclusive)") |
514 DEFINE_INT(trace_wasm_text_end, 0, | 514 DEFINE_INT(trace_wasm_text_end, 0, |
515 "end function for WASM text generation (exclusive)") | 515 "end function for WASM text generation (exclusive)") |
516 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 516 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
517 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 517 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
518 "debug break when wasm decoder encounters an error") | 518 "debug break when wasm decoder encounters an error") |
519 DEFINE_BOOL(wasm_loop_assignment_analysis, true, | 519 DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
520 "perform loop assignment analysis for WASM") | 520 "perform loop assignment analysis for WASM") |
521 | 521 |
522 DEFINE_BOOL(validate_asm, true, "validate asm.js modules before compiling") | 522 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
523 DEFINE_IMPLICATION(ignition_staging, validate_asm) | 523 DEFINE_IMPLICATION(ignition_staging, validate_asm) |
524 DEFINE_BOOL(suppress_asm_messages, false, | 524 DEFINE_BOOL(suppress_asm_messages, false, |
525 "don't emit asm.js related messages (for golden file testing)") | 525 "don't emit asm.js related messages (for golden file testing)") |
526 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") | 526 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
527 | 527 |
528 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") | 528 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
529 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") | 529 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
530 | 530 |
531 DEFINE_INT(typed_array_max_size_in_heap, 64, | 531 DEFINE_INT(typed_array_max_size_in_heap, 64, |
532 "threshold for in-heap typed array") | 532 "threshold for in-heap typed array") |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1285 #undef DEFINE_ALIAS_FLOAT | 1285 #undef DEFINE_ALIAS_FLOAT |
1286 #undef DEFINE_ALIAS_ARGS | 1286 #undef DEFINE_ALIAS_ARGS |
1287 | 1287 |
1288 #undef FLAG_MODE_DECLARE | 1288 #undef FLAG_MODE_DECLARE |
1289 #undef FLAG_MODE_DEFINE | 1289 #undef FLAG_MODE_DEFINE |
1290 #undef FLAG_MODE_DEFINE_DEFAULTS | 1290 #undef FLAG_MODE_DEFINE_DEFAULTS |
1291 #undef FLAG_MODE_META | 1291 #undef FLAG_MODE_META |
1292 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1292 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1293 | 1293 |
1294 #undef COMMA | 1294 #undef COMMA |
OLD | NEW |