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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") | 468 DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
469 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") | 469 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
470 DEFINE_BOOL(trace_wasm_ast, false, "dump AST after WASM decode") | 470 DEFINE_BOOL(trace_wasm_ast, false, "dump AST after WASM decode") |
471 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 471 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
472 "debug break when wasm decoder encounters an error") | 472 "debug break when wasm decoder encounters an error") |
473 DEFINE_BOOL(wasm_loop_assignment_analysis, false, | 473 DEFINE_BOOL(wasm_loop_assignment_analysis, false, |
474 "perform loop assignment analysis for WASM") | 474 "perform loop assignment analysis for WASM") |
475 | 475 |
476 DEFINE_BOOL(enable_simd_asmjs, false, "enable SIMD.js in asm.js stdlib") | 476 DEFINE_BOOL(enable_simd_asmjs, false, "enable SIMD.js in asm.js stdlib") |
477 | 477 |
478 DEFINE_BOOL(dump_asmjs_wasm, false, "dump Asm.js to WASM module bytes") | 478 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
479 DEFINE_STRING(asmjs_wasm_dumpfile, "asmjs.wasm", | 479 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
480 "file to dump asm wasm conversion result to") | |
481 | 480 |
482 DEFINE_INT(typed_array_max_size_in_heap, 64, | 481 DEFINE_INT(typed_array_max_size_in_heap, 64, |
483 "threshold for in-heap typed array") | 482 "threshold for in-heap typed array") |
484 | 483 |
485 // Profiler flags. | 484 // Profiler flags. |
486 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 485 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
487 // 0x1800 fits in the immediate field of an ARM instruction. | 486 // 0x1800 fits in the immediate field of an ARM instruction. |
488 DEFINE_INT(interrupt_budget, 0x1800, | 487 DEFINE_INT(interrupt_budget, 0x1800, |
489 "execution budget before interrupt is triggered") | 488 "execution budget before interrupt is triggered") |
490 DEFINE_INT(type_info_threshold, 25, | 489 DEFINE_INT(type_info_threshold, 25, |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 #undef DEFINE_ALIAS_FLOAT | 1162 #undef DEFINE_ALIAS_FLOAT |
1164 #undef DEFINE_ALIAS_ARGS | 1163 #undef DEFINE_ALIAS_ARGS |
1165 | 1164 |
1166 #undef FLAG_MODE_DECLARE | 1165 #undef FLAG_MODE_DECLARE |
1167 #undef FLAG_MODE_DEFINE | 1166 #undef FLAG_MODE_DEFINE |
1168 #undef FLAG_MODE_DEFINE_DEFAULTS | 1167 #undef FLAG_MODE_DEFINE_DEFAULTS |
1169 #undef FLAG_MODE_META | 1168 #undef FLAG_MODE_META |
1170 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1169 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1171 | 1170 |
1172 #undef COMMA | 1171 #undef COMMA |
OLD | NEW |