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 // 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 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 541 DEFINE_INT(trace_wasm_ast_start, 0, | 541 DEFINE_INT(trace_wasm_ast_start, 0, |
| 542 "start function for WASM AST trace (inclusive)") | 542 "start function for WASM AST trace (inclusive)") |
| 543 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") | 543 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") |
| 544 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 544 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
| 545 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 545 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
| 546 "debug break when wasm decoder encounters an error") | 546 "debug break when wasm decoder encounters an error") |
| 547 DEFINE_BOOL(wasm_loop_assignment_analysis, true, | 547 DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
| 548 "perform loop assignment analysis for WASM") | 548 "perform loop assignment analysis for WASM") |
| 549 | 549 |
| 550 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") | 550 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
| 551 DEFINE_BOOL(fast_validate_asm, false, | |
| 552 "validate asm.js modules before compiling") | |
| 553 DEFINE_IMPLICATION(fast_validate_asm, validate_asm) | |
|
Michael Starzinger
2017/03/22 14:55:51
Do we really need this implication? IMHO the --fas
bradn
2017/03/24 03:58:19
done
| |
| 551 DEFINE_BOOL(suppress_asm_messages, false, | 554 DEFINE_BOOL(suppress_asm_messages, false, |
| 552 "don't emit asm.js related messages (for golden file testing)") | 555 "don't emit asm.js related messages (for golden file testing)") |
| 553 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") | 556 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
| 554 DEFINE_BOOL(trace_asm_scanner, false, | 557 DEFINE_BOOL(trace_asm_scanner, false, |
| 555 "log tokens encountered by asm.js scanner") | 558 "log tokens encountered by asm.js scanner") |
| 556 | 559 |
| 557 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") | 560 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
| 558 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") | 561 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
| 559 | 562 |
| 560 DEFINE_INT(typed_array_max_size_in_heap, 64, | 563 DEFINE_INT(typed_array_max_size_in_heap, 64, |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1330 #undef DEFINE_ALIAS_FLOAT | 1333 #undef DEFINE_ALIAS_FLOAT |
| 1331 #undef DEFINE_ALIAS_ARGS | 1334 #undef DEFINE_ALIAS_ARGS |
| 1332 | 1335 |
| 1333 #undef FLAG_MODE_DECLARE | 1336 #undef FLAG_MODE_DECLARE |
| 1334 #undef FLAG_MODE_DEFINE | 1337 #undef FLAG_MODE_DEFINE |
| 1335 #undef FLAG_MODE_DEFINE_DEFAULTS | 1338 #undef FLAG_MODE_DEFINE_DEFAULTS |
| 1336 #undef FLAG_MODE_META | 1339 #undef FLAG_MODE_META |
| 1337 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1340 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
| 1338 | 1341 |
| 1339 #undef COMMA | 1342 #undef COMMA |
| OLD | NEW |