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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 540 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
541 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") | 541 DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") |
542 DEFINE_INT(trace_wasm_ast_start, 0, | 542 DEFINE_INT(trace_wasm_ast_start, 0, |
543 "start function for WASM AST trace (inclusive)") | 543 "start function for WASM AST trace (inclusive)") |
544 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") | 544 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") |
545 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 545 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
546 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 546 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
547 "debug break when wasm decoder encounters an error") | 547 "debug break when wasm decoder encounters an error") |
548 | 548 |
549 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") | 549 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
| 550 DEFINE_BOOL(fast_validate_asm, false, |
| 551 "validate asm.js modules before compiling") |
550 DEFINE_BOOL(suppress_asm_messages, false, | 552 DEFINE_BOOL(suppress_asm_messages, false, |
551 "don't emit asm.js related messages (for golden file testing)") | 553 "don't emit asm.js related messages (for golden file testing)") |
552 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") | 554 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
553 DEFINE_BOOL(trace_asm_scanner, false, | 555 DEFINE_BOOL(trace_asm_scanner, false, |
554 "log tokens encountered by asm.js scanner") | 556 "log tokens encountered by asm.js scanner") |
555 DEFINE_BOOL(stress_validate_asm, false, "try to validate everything as asm.js") | 557 DEFINE_BOOL(stress_validate_asm, false, "try to validate everything as asm.js") |
556 | 558 |
557 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") | 559 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
558 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") | 560 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
559 | 561 |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1340 #undef DEFINE_ALIAS_FLOAT | 1342 #undef DEFINE_ALIAS_FLOAT |
1341 #undef DEFINE_ALIAS_ARGS | 1343 #undef DEFINE_ALIAS_ARGS |
1342 | 1344 |
1343 #undef FLAG_MODE_DECLARE | 1345 #undef FLAG_MODE_DECLARE |
1344 #undef FLAG_MODE_DEFINE | 1346 #undef FLAG_MODE_DEFINE |
1345 #undef FLAG_MODE_DEFINE_DEFAULTS | 1347 #undef FLAG_MODE_DEFINE_DEFAULTS |
1346 #undef FLAG_MODE_META | 1348 #undef FLAG_MODE_META |
1347 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1349 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1348 | 1350 |
1349 #undef COMMA | 1351 #undef COMMA |
OLD | NEW |