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

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

Powered by Google App Engine
This is Rietveld 408576698