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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 DEFINE_INT(trace_wasm_text_start, 0, | 511 DEFINE_INT(trace_wasm_text_start, 0, |
512 "start function for WASM text generation (inclusive)") | 512 "start function for WASM text generation (inclusive)") |
513 DEFINE_INT(trace_wasm_text_end, 0, | 513 DEFINE_INT(trace_wasm_text_end, 0, |
514 "end function for WASM text generation (exclusive)") | 514 "end function for WASM text generation (exclusive)") |
515 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 515 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
516 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 516 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
517 "debug break when wasm decoder encounters an error") | 517 "debug break when wasm decoder encounters an error") |
518 DEFINE_BOOL(wasm_loop_assignment_analysis, true, | 518 DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
519 "perform loop assignment analysis for WASM") | 519 "perform loop assignment analysis for WASM") |
520 | 520 |
521 DEFINE_BOOL(validate_asm, true, "validate asm.js modules before compiling") | 521 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
522 DEFINE_IMPLICATION(ignition_staging, validate_asm) | 522 DEFINE_IMPLICATION(ignition_staging, validate_asm) |
523 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") | 523 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
524 | 524 |
525 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") | 525 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
526 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") | 526 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
527 | 527 |
528 DEFINE_INT(typed_array_max_size_in_heap, 64, | 528 DEFINE_INT(typed_array_max_size_in_heap, 64, |
529 "threshold for in-heap typed array") | 529 "threshold for in-heap typed array") |
530 | 530 |
531 DEFINE_BOOL(wasm_simd_prototype, false, | 531 DEFINE_BOOL(wasm_simd_prototype, false, |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1277 #undef DEFINE_ALIAS_FLOAT | 1277 #undef DEFINE_ALIAS_FLOAT |
1278 #undef DEFINE_ALIAS_ARGS | 1278 #undef DEFINE_ALIAS_ARGS |
1279 | 1279 |
1280 #undef FLAG_MODE_DECLARE | 1280 #undef FLAG_MODE_DECLARE |
1281 #undef FLAG_MODE_DEFINE | 1281 #undef FLAG_MODE_DEFINE |
1282 #undef FLAG_MODE_DEFINE_DEFAULTS | 1282 #undef FLAG_MODE_DEFINE_DEFAULTS |
1283 #undef FLAG_MODE_META | 1283 #undef FLAG_MODE_META |
1284 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1284 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1285 | 1285 |
1286 #undef COMMA | 1286 #undef COMMA |
OLD | NEW |