Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Side by Side Diff: src/flag-definitions.h

Issue 2731523005: [wasm] Lazy compilation for asm.js (Closed)
Patch Set: [wasm] Lazy compilation for asm.js Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/counters.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 " (experimental, currently Linux x86_64 only)") 578 " (experimental, currently Linux x86_64 only)")
579 DEFINE_BOOL(wasm_guard_pages, false, 579 DEFINE_BOOL(wasm_guard_pages, false,
580 "add guard pages to the end of WebWassembly memory" 580 "add guard pages to the end of WebWassembly memory"
581 " (experimental, no effect on 32-bit)") 581 " (experimental, no effect on 32-bit)")
582 DEFINE_IMPLICATION(wasm_trap_handler, wasm_guard_pages) 582 DEFINE_IMPLICATION(wasm_trap_handler, wasm_guard_pages)
583 DEFINE_BOOL(wasm_trap_if, true, 583 DEFINE_BOOL(wasm_trap_if, true,
584 "enable the use of the trap_if operator for traps") 584 "enable the use of the trap_if operator for traps")
585 DEFINE_BOOL(wasm_code_fuzzer_gen_test, false, 585 DEFINE_BOOL(wasm_code_fuzzer_gen_test, false,
586 "Generate a test case when running the wasm-code fuzzer") 586 "Generate a test case when running the wasm-code fuzzer")
587 DEFINE_BOOL(print_wasm_code, false, "Print WebAssembly code") 587 DEFINE_BOOL(print_wasm_code, false, "Print WebAssembly code")
588 DEFINE_BOOL(asm_wasm_lazy_compilation, false,
589 "enable lazy compilation for asm-wasm modules")
588 590
589 // Profiler flags. 591 // Profiler flags.
590 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") 592 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
591 // 0x1800 fits in the immediate field of an ARM instruction. 593 // 0x1800 fits in the immediate field of an ARM instruction.
592 DEFINE_INT(interrupt_budget, 0x1800, 594 DEFINE_INT(interrupt_budget, 0x1800,
593 "execution budget before interrupt is triggered") 595 "execution budget before interrupt is triggered")
594 DEFINE_INT(type_info_threshold, 25, 596 DEFINE_INT(type_info_threshold, 25,
595 "percentage of ICs that must have type info to allow optimization") 597 "percentage of ICs that must have type info to allow optimization")
596 DEFINE_INT(generic_ic_threshold, 30, 598 DEFINE_INT(generic_ic_threshold, 30,
597 "max percentage of megamorphic/generic ICs to allow optimization") 599 "max percentage of megamorphic/generic ICs to allow optimization")
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 #undef DEFINE_ALIAS_FLOAT 1311 #undef DEFINE_ALIAS_FLOAT
1310 #undef DEFINE_ALIAS_ARGS 1312 #undef DEFINE_ALIAS_ARGS
1311 1313
1312 #undef FLAG_MODE_DECLARE 1314 #undef FLAG_MODE_DECLARE
1313 #undef FLAG_MODE_DEFINE 1315 #undef FLAG_MODE_DEFINE
1314 #undef FLAG_MODE_DEFINE_DEFAULTS 1316 #undef FLAG_MODE_DEFINE_DEFAULTS
1315 #undef FLAG_MODE_META 1317 #undef FLAG_MODE_META
1316 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1318 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1317 1319
1318 #undef COMMA 1320 #undef COMMA
OLDNEW
« no previous file with comments | « src/counters.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698