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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 525 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
526 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 526 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
527 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") | 527 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") |
528 DEFINE_INT(trace_wasm_ast_start, 0, | 528 DEFINE_INT(trace_wasm_ast_start, 0, |
529 "start function for WASM AST trace (inclusive)") | 529 "start function for WASM AST trace (inclusive)") |
530 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") | 530 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") |
531 DEFINE_INT(trace_wasm_text_start, 0, | 531 DEFINE_INT(trace_wasm_text_start, 0, |
532 "start function for WASM text generation (inclusive)") | 532 "start function for WASM text generation (inclusive)") |
533 DEFINE_INT(trace_wasm_text_end, 0, | 533 DEFINE_INT(trace_wasm_text_end, 0, |
534 "end function for WASM text generation (exclusive)") | 534 "end function for WASM text generation (exclusive)") |
535 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 535 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
536 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 536 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
537 "debug break when wasm decoder encounters an error") | 537 "debug break when wasm decoder encounters an error") |
538 DEFINE_BOOL(wasm_loop_assignment_analysis, true, | 538 DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
539 "perform loop assignment analysis for WASM") | 539 "perform loop assignment analysis for WASM") |
540 | 540 |
541 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") | 541 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
542 DEFINE_BOOL(suppress_asm_messages, false, | 542 DEFINE_BOOL(suppress_asm_messages, false, |
543 "don't emit asm.js related messages (for golden file testing)") | 543 "don't emit asm.js related messages (for golden file testing)") |
544 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") | 544 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
545 | 545 |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1298 #undef DEFINE_ALIAS_FLOAT | 1298 #undef DEFINE_ALIAS_FLOAT |
1299 #undef DEFINE_ALIAS_ARGS | 1299 #undef DEFINE_ALIAS_ARGS |
1300 | 1300 |
1301 #undef FLAG_MODE_DECLARE | 1301 #undef FLAG_MODE_DECLARE |
1302 #undef FLAG_MODE_DEFINE | 1302 #undef FLAG_MODE_DEFINE |
1303 #undef FLAG_MODE_DEFINE_DEFAULTS | 1303 #undef FLAG_MODE_DEFINE_DEFAULTS |
1304 #undef FLAG_MODE_META | 1304 #undef FLAG_MODE_META |
1305 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1305 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1306 | 1306 |
1307 #undef COMMA | 1307 #undef COMMA |
OLD | NEW |