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

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

Issue 1294543006: Allowing optional build of a WASM prototype behind a gyp define. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: drop deps Created 5 years, 4 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/d8.gyp ('k') | test/cctest/cctest.gyp » ('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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan") 439 DEFINE_BOOL(turbo_osr, true, "enable OSR in TurboFan")
440 DEFINE_BOOL(turbo_try_catch, true, "enable try-catch support in TurboFan") 440 DEFINE_BOOL(turbo_try_catch, true, "enable try-catch support in TurboFan")
441 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan") 441 DEFINE_BOOL(turbo_try_finally, false, "enable try-finally support in TurboFan")
442 DEFINE_BOOL(turbo_stress_loop_peeling, false, 442 DEFINE_BOOL(turbo_stress_loop_peeling, false,
443 "stress loop peeling optimization") 443 "stress loop peeling optimization")
444 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan") 444 DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan")
445 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan") 445 DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan")
446 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code") 446 DEFINE_BOOL(turbo_cache_shared_code, true, "cache context-independent code")
447 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code") 447 DEFINE_BOOL(turbo_preserve_shared_code, false, "keep context-independent code")
448 448
449 #if defined(V8_WASM)
450 // Flags for native WebAssembly.
451 DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code")
452 DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code")
453 DEFINE_BOOL(wasm_break_on_decoder_error, false,
454 "debug break when wasm decoder encounters an error")
455 #endif
456
449 DEFINE_INT(typed_array_max_size_in_heap, 64, 457 DEFINE_INT(typed_array_max_size_in_heap, 64,
450 "threshold for in-heap typed array") 458 "threshold for in-heap typed array")
451 459
452 // Profiler flags. 460 // Profiler flags.
453 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler") 461 DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
454 // 0x1800 fits in the immediate field of an ARM instruction. 462 // 0x1800 fits in the immediate field of an ARM instruction.
455 DEFINE_INT(interrupt_budget, 0x1800, 463 DEFINE_INT(interrupt_budget, 0x1800,
456 "execution budget before interrupt is triggered") 464 "execution budget before interrupt is triggered")
457 DEFINE_INT(type_info_threshold, 25, 465 DEFINE_INT(type_info_threshold, 25,
458 "percentage of ICs that must have type info to allow optimization") 466 "percentage of ICs that must have type info to allow optimization")
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 #undef DEFINE_ALIAS_FLOAT 1092 #undef DEFINE_ALIAS_FLOAT
1085 #undef DEFINE_ALIAS_ARGS 1093 #undef DEFINE_ALIAS_ARGS
1086 1094
1087 #undef FLAG_MODE_DECLARE 1095 #undef FLAG_MODE_DECLARE
1088 #undef FLAG_MODE_DEFINE 1096 #undef FLAG_MODE_DEFINE
1089 #undef FLAG_MODE_DEFINE_DEFAULTS 1097 #undef FLAG_MODE_DEFINE_DEFAULTS
1090 #undef FLAG_MODE_META 1098 #undef FLAG_MODE_META
1091 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1099 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1092 1100
1093 #undef COMMA 1101 #undef COMMA
OLDNEW
« no previous file with comments | « src/d8.gyp ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698