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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") | 542 DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
543 DEFINE_BOOL(wasm_break_on_decoder_error, false, | 543 DEFINE_BOOL(wasm_break_on_decoder_error, false, |
544 "debug break when wasm decoder encounters an error") | 544 "debug break when wasm decoder encounters an error") |
545 DEFINE_BOOL(wasm_loop_assignment_analysis, true, | 545 DEFINE_BOOL(wasm_loop_assignment_analysis, true, |
546 "perform loop assignment analysis for WASM") | 546 "perform loop assignment analysis for WASM") |
547 | 547 |
548 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") | 548 DEFINE_BOOL(validate_asm, false, "validate asm.js modules before compiling") |
549 DEFINE_BOOL(suppress_asm_messages, false, | 549 DEFINE_BOOL(suppress_asm_messages, false, |
550 "don't emit asm.js related messages (for golden file testing)") | 550 "don't emit asm.js related messages (for golden file testing)") |
551 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") | 551 DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console") |
| 552 DEFINE_BOOL(trace_asm_lexer, false, "log tokens encountered by asm.js lexer") |
552 | 553 |
553 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") | 554 DEFINE_BOOL(dump_wasm_module, false, "dump WASM module bytes") |
554 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") | 555 DEFINE_STRING(dump_wasm_module_path, NULL, "directory to dump wasm modules to") |
555 | 556 |
556 DEFINE_INT(typed_array_max_size_in_heap, 64, | 557 DEFINE_INT(typed_array_max_size_in_heap, 64, |
557 "threshold for in-heap typed array") | 558 "threshold for in-heap typed array") |
558 | 559 |
559 DEFINE_BOOL(wasm_simd_prototype, false, | 560 DEFINE_BOOL(wasm_simd_prototype, false, |
560 "enable prototype simd opcodes for wasm") | 561 "enable prototype simd opcodes for wasm") |
561 DEFINE_BOOL(wasm_eh_prototype, false, | 562 DEFINE_BOOL(wasm_eh_prototype, false, |
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1326 #undef DEFINE_ALIAS_FLOAT | 1327 #undef DEFINE_ALIAS_FLOAT |
1327 #undef DEFINE_ALIAS_ARGS | 1328 #undef DEFINE_ALIAS_ARGS |
1328 | 1329 |
1329 #undef FLAG_MODE_DECLARE | 1330 #undef FLAG_MODE_DECLARE |
1330 #undef FLAG_MODE_DEFINE | 1331 #undef FLAG_MODE_DEFINE |
1331 #undef FLAG_MODE_DEFINE_DEFAULTS | 1332 #undef FLAG_MODE_DEFINE_DEFAULTS |
1332 #undef FLAG_MODE_META | 1333 #undef FLAG_MODE_META |
1333 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1334 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1334 | 1335 |
1335 #undef COMMA | 1336 #undef COMMA |
OLD | NEW |