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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 DEFINE_BOOL(wasm_no_stack_checks, false, | 548 DEFINE_BOOL(wasm_no_stack_checks, false, |
549 "disable stack checks (performance testing only)") | 549 "disable stack checks (performance testing only)") |
550 | 550 |
551 DEFINE_BOOL(wasm_trap_handler, false, | 551 DEFINE_BOOL(wasm_trap_handler, false, |
552 "use signal handlers to catch out of bounds memory access in wasm" | 552 "use signal handlers to catch out of bounds memory access in wasm" |
553 " (experimental, currently Linux x86_64 only)") | 553 " (experimental, currently Linux x86_64 only)") |
554 DEFINE_BOOL(wasm_guard_pages, false, | 554 DEFINE_BOOL(wasm_guard_pages, false, |
555 "add guard pages to the end of WebWassembly memory" | 555 "add guard pages to the end of WebWassembly memory" |
556 " (experimental, no effect on 32-bit)") | 556 " (experimental, no effect on 32-bit)") |
557 DEFINE_IMPLICATION(wasm_trap_handler, wasm_guard_pages) | 557 DEFINE_IMPLICATION(wasm_trap_handler, wasm_guard_pages) |
558 DEFINE_BOOL(wasm_trap_if, true, | 558 DEFINE_BOOL(wasm_trap_if, false, |
559 "enable the use of the trap_if operator for traps") | 559 "enable the use of the trap_if operator for traps") |
560 DEFINE_BOOL(wasm_code_fuzzer_gen_test, false, | 560 DEFINE_BOOL(wasm_code_fuzzer_gen_test, false, |
561 "Generate a test case when running the wasm-code fuzzer") | 561 "Generate a test case when running the wasm-code fuzzer") |
562 // Profiler flags. | 562 // Profiler flags. |
563 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") | 563 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") |
564 // 0x1800 fits in the immediate field of an ARM instruction. | 564 // 0x1800 fits in the immediate field of an ARM instruction. |
565 DEFINE_INT(interrupt_budget, 0x1800, | 565 DEFINE_INT(interrupt_budget, 0x1800, |
566 "execution budget before interrupt is triggered") | 566 "execution budget before interrupt is triggered") |
567 DEFINE_INT(type_info_threshold, 25, | 567 DEFINE_INT(type_info_threshold, 25, |
568 "percentage of ICs that must have type info to allow optimization") | 568 "percentage of ICs that must have type info to allow optimization") |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 #undef DEFINE_ALIAS_FLOAT | 1287 #undef DEFINE_ALIAS_FLOAT |
1288 #undef DEFINE_ALIAS_ARGS | 1288 #undef DEFINE_ALIAS_ARGS |
1289 | 1289 |
1290 #undef FLAG_MODE_DECLARE | 1290 #undef FLAG_MODE_DECLARE |
1291 #undef FLAG_MODE_DEFINE | 1291 #undef FLAG_MODE_DEFINE |
1292 #undef FLAG_MODE_DEFINE_DEFAULTS | 1292 #undef FLAG_MODE_DEFINE_DEFAULTS |
1293 #undef FLAG_MODE_META | 1293 #undef FLAG_MODE_META |
1294 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1294 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1295 | 1295 |
1296 #undef COMMA | 1296 #undef COMMA |
OLD | NEW |