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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") | 461 DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
462 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") | 462 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
463 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 463 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
464 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 464 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
465 DEFINE_INT(trace_wasm_ast_start, 0, | 465 DEFINE_INT(trace_wasm_ast_start, 0, |
466 "start function for WASM AST trace (inclusive)") | 466 "start function for WASM AST trace (inclusive)") |
467 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") | 467 DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") |
468 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 468 DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
469 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 469 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
470 "debug break when wasm decoder encounters an error") | 470 "debug break when wasm decoder encounters an error") |
471 DEFINE_BOOL(wasm_loop_assignment_analysis, false, | 471 DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
472 "perform loop assignment analysis for WASM") | 472 "perform loop assignment analysis for WASM") |
473 | 473 |
474 DEFINE_BOOL(enable_simd_asmjs, false, "enable SIMD.js in asm.js stdlib") | 474 DEFINE_BOOL(enable_simd_asmjs, false, "enable SIMD.js in asm.js stdlib") |
475 | 475 |
476 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") | 476 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
477 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") | 477 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
478 | 478 |
479 DEFINE_INT(typed_array_max_size_in_heap, 64, | 479 DEFINE_INT(typed_array_max_size_in_heap, 64, |
480 "threshold for in-heap typed array") | 480 "threshold for in-heap typed array") |
481 | 481 |
(...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 #undef DEFINE_ALIAS_FLOAT | 1166 #undef DEFINE_ALIAS_FLOAT |
1167 #undef DEFINE_ALIAS_ARGS | 1167 #undef DEFINE_ALIAS_ARGS |
1168 | 1168 |
1169 #undef FLAG_MODE_DECLARE | 1169 #undef FLAG_MODE_DECLARE |
1170 #undef FLAG_MODE_DEFINE | 1170 #undef FLAG_MODE_DEFINE |
1171 #undef FLAG_MODE_DEFINE_DEFAULTS | 1171 #undef FLAG_MODE_DEFINE_DEFAULTS |
1172 #undef FLAG_MODE_META | 1172 #undef FLAG_MODE_META |
1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1174 | 1174 |
1175 #undef COMMA | 1175 #undef COMMA |
OLD | NEW |