Line data Source code
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
3 : // found in the LICENSE file.
4 :
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
7 : // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 : //
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
11 : // a mode defined before it's included. The modes are FLAG_MODE_... below:
12 :
13 : #define DEFINE_IMPLICATION(whenflag, thenflag) \
14 : DEFINE_VALUE_IMPLICATION(whenflag, thenflag, true)
15 :
16 : #define DEFINE_NEG_IMPLICATION(whenflag, thenflag) \
17 : DEFINE_VALUE_IMPLICATION(whenflag, thenflag, false)
18 :
19 : #define DEFINE_NEG_NEG_IMPLICATION(whenflag, thenflag) \
20 : DEFINE_NEG_VALUE_IMPLICATION(whenflag, thenflag, false)
21 :
22 : // We want to declare the names of the variables for the header file. Normally
23 : // this will just be an extern declaration, but for a readonly flag we let the
24 : // compiler make better optimizations by giving it the value.
25 : #if defined(FLAG_MODE_DECLARE)
26 : #define FLAG_FULL(ftype, ctype, nam, def, cmt) \
27 : V8_EXPORT_PRIVATE extern ctype FLAG_##nam;
28 : #define FLAG_READONLY(ftype, ctype, nam, def, cmt) \
29 : static ctype const FLAG_##nam = def;
30 :
31 : // We want to supply the actual storage and value for the flag variable in the
32 : // .cc file. We only do this for writable flags.
33 : #elif defined(FLAG_MODE_DEFINE)
34 : #ifdef USING_V8_SHARED
35 : #define FLAG_FULL(ftype, ctype, nam, def, cmt) \
36 : V8_EXPORT_PRIVATE extern ctype FLAG_##nam;
37 : #else
38 : #define FLAG_FULL(ftype, ctype, nam, def, cmt) \
39 : V8_EXPORT_PRIVATE ctype FLAG_##nam = def;
40 : #endif
41 :
42 : // We need to define all of our default values so that the Flag structure can
43 : // access them by pointer. These are just used internally inside of one .cc,
44 : // for MODE_META, so there is no impact on the flags interface.
45 : #elif defined(FLAG_MODE_DEFINE_DEFAULTS)
46 : #define FLAG_FULL(ftype, ctype, nam, def, cmt) \
47 : static ctype const FLAGDEFAULT_##nam = def;
48 :
49 : // We want to write entries into our meta data table, for internal parsing and
50 : // printing / etc in the flag parser code. We only do this for writable flags.
51 : #elif defined(FLAG_MODE_META)
52 : #define FLAG_FULL(ftype, ctype, nam, def, cmt) \
53 : { Flag::TYPE_##ftype, #nam, &FLAG_##nam, &FLAGDEFAULT_##nam, cmt, false } \
54 : ,
55 : #define FLAG_ALIAS(ftype, ctype, alias, nam) \
56 : { \
57 : Flag::TYPE_##ftype, #alias, &FLAG_##nam, &FLAGDEFAULT_##nam, \
58 : "alias for --" #nam, false \
59 : } \
60 : ,
61 :
62 : // We produce the code to set flags when it is implied by another flag.
63 : #elif defined(FLAG_MODE_DEFINE_IMPLICATIONS)
64 : #define DEFINE_VALUE_IMPLICATION(whenflag, thenflag, value) \
65 : if (FLAG_##whenflag) FLAG_##thenflag = value;
66 :
67 : #define DEFINE_NEG_VALUE_IMPLICATION(whenflag, thenflag, value) \
68 : if (!FLAG_##whenflag) FLAG_##thenflag = value;
69 :
70 : #else
71 : #error No mode supplied when including flags.defs
72 : #endif
73 :
74 : // Dummy defines for modes where it is not relevant.
75 : #ifndef FLAG_FULL
76 : #define FLAG_FULL(ftype, ctype, nam, def, cmt)
77 : #endif
78 :
79 : #ifndef FLAG_READONLY
80 : #define FLAG_READONLY(ftype, ctype, nam, def, cmt)
81 : #endif
82 :
83 : #ifndef FLAG_ALIAS
84 : #define FLAG_ALIAS(ftype, ctype, alias, nam)
85 : #endif
86 :
87 : #ifndef DEFINE_VALUE_IMPLICATION
88 : #define DEFINE_VALUE_IMPLICATION(whenflag, thenflag, value)
89 : #endif
90 :
91 : #ifndef DEFINE_NEG_VALUE_IMPLICATION
92 : #define DEFINE_NEG_VALUE_IMPLICATION(whenflag, thenflag, value)
93 : #endif
94 :
95 : #define COMMA ,
96 :
97 : #ifdef FLAG_MODE_DECLARE
98 : // Structure used to hold a collection of arguments to the JavaScript code.
99 : struct JSArguments {
100 : public:
101 0 : inline const char*& operator[](int idx) const { return argv[idx]; }
102 : static JSArguments Create(int argc, const char** argv) {
103 : JSArguments args;
104 : args.argc = argc;
105 : args.argv = argv;
106 : return args;
107 : }
108 : int argc;
109 : const char** argv;
110 : };
111 :
112 : struct MaybeBoolFlag {
113 : static MaybeBoolFlag Create(bool has_value, bool value) {
114 : MaybeBoolFlag flag;
115 : flag.has_value = has_value;
116 29 : flag.value = value;
117 : return flag;
118 : }
119 : bool has_value;
120 : bool value;
121 : };
122 : #endif
123 :
124 : #ifdef DEBUG
125 : #define DEBUG_BOOL true
126 : #else
127 : #define DEBUG_BOOL false
128 : #endif
129 :
130 : // Supported ARM configurations are:
131 : // "armv6": ARMv6 + VFPv2
132 : // "armv7": ARMv7 + VFPv3-D32 + NEON
133 : // "armv7+sudiv": ARMv7 + VFPv4-D32 + NEON + SUDIV
134 : // "armv8": ARMv8 (including all of the above)
135 : #if !defined(ARM_TEST_NO_FEATURE_PROBE) || \
136 : (defined(CAN_USE_ARMV8_INSTRUCTIONS) && \
137 : defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(CAN_USE_SUDIV) && \
138 : defined(CAN_USE_NEON) && defined(CAN_USE_VFP3_INSTRUCTIONS))
139 : #define ARM_ARCH_DEFAULT "armv8"
140 : #elif defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(CAN_USE_SUDIV) && \
141 : defined(CAN_USE_NEON) && defined(CAN_USE_VFP3_INSTRUCTIONS)
142 : #define ARM_ARCH_DEFAULT "armv7+sudiv"
143 : #elif defined(CAN_USE_ARMV7_INSTRUCTIONS) && defined(CAN_USE_NEON) && \
144 : defined(CAN_USE_VFP3_INSTRUCTIONS)
145 : #define ARM_ARCH_DEFAULT "armv7"
146 : #else
147 : #define ARM_ARCH_DEFAULT "armv6"
148 : #endif
149 :
150 : #ifdef V8_OS_WIN
151 : # define ENABLE_LOG_COLOUR false
152 : #else
153 : # define ENABLE_LOG_COLOUR true
154 : #endif
155 :
156 : #define DEFINE_BOOL(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt)
157 : #define DEFINE_BOOL_READONLY(nam, def, cmt) \
158 : FLAG_READONLY(BOOL, bool, nam, def, cmt)
159 : #define DEFINE_MAYBE_BOOL(nam, cmt) \
160 : FLAG(MAYBE_BOOL, MaybeBoolFlag, nam, {false COMMA false}, cmt)
161 : #define DEFINE_INT(nam, def, cmt) FLAG(INT, int, nam, def, cmt)
162 : #define DEFINE_UINT(nam, def, cmt) FLAG(UINT, unsigned int, nam, def, cmt)
163 : #define DEFINE_FLOAT(nam, def, cmt) FLAG(FLOAT, double, nam, def, cmt)
164 : #define DEFINE_STRING(nam, def, cmt) FLAG(STRING, const char*, nam, def, cmt)
165 : #define DEFINE_ARGS(nam, cmt) \
166 : FLAG(ARGS, JSArguments, nam, {0 COMMA nullptr}, cmt)
167 :
168 : #define DEFINE_ALIAS_BOOL(alias, nam) FLAG_ALIAS(BOOL, bool, alias, nam)
169 : #define DEFINE_ALIAS_INT(alias, nam) FLAG_ALIAS(INT, int, alias, nam)
170 : #define DEFINE_ALIAS_FLOAT(alias, nam) FLAG_ALIAS(FLOAT, double, alias, nam)
171 : #define DEFINE_ALIAS_STRING(alias, nam) \
172 : FLAG_ALIAS(STRING, const char*, alias, nam)
173 : #define DEFINE_ALIAS_ARGS(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam)
174 :
175 : //
176 : // Flags in all modes.
177 : //
178 : #define FLAG FLAG_FULL
179 :
180 : DEFINE_BOOL(experimental_extras, false,
181 : "enable code compiled in via v8_experimental_extra_library_files")
182 :
183 : // Flags for language modes and experimental language features.
184 : DEFINE_BOOL(use_strict, false, "enforce strict mode")
185 :
186 : DEFINE_BOOL(es_staging, false,
187 : "enable test-worthy harmony features (for internal use only)")
188 : DEFINE_BOOL(harmony, false, "enable all completed harmony features")
189 : DEFINE_BOOL(harmony_shipping, true, "enable all shipped harmony features")
190 151958 : DEFINE_IMPLICATION(es_staging, harmony)
191 : // Enabling import.meta requires to also enable import()
192 151958 : DEFINE_IMPLICATION(harmony_import_meta, harmony_dynamic_import)
193 :
194 : // Features that are still work in progress (behind individual flags).
195 : #define HARMONY_INPROGRESS(V) \
196 : V(harmony_import_meta, "harmony import.meta property") \
197 : V(harmony_array_prototype_values, "harmony Array.prototype.values") \
198 : V(harmony_function_sent, "harmony function.sent") \
199 : V(harmony_do_expressions, "harmony do-expressions") \
200 : V(harmony_class_fields, "harmony public fields in class literals") \
201 : V(harmony_bigint, "harmony arbitrary precision integers")
202 :
203 : // Features that are complete (but still behind --harmony/es-staging flag).
204 : #define HARMONY_STAGED_BASE(V) \
205 : V(harmony_function_tostring, "harmony Function.prototype.toString") \
206 : V(harmony_regexp_property, "harmony Unicode regexp property classes") \
207 : V(harmony_restrict_constructor_return, \
208 : "harmony disallow non undefined primitive return value from class " \
209 : "constructor") \
210 : V(harmony_dynamic_import, "harmony dynamic import") \
211 :
212 : #ifdef V8_INTL_SUPPORT
213 : #define HARMONY_STAGED(V) \
214 : HARMONY_STAGED_BASE(V) \
215 : V(harmony_number_format_to_parts, \
216 : "Intl.NumberFormat.prototype." \
217 : "formatToParts")
218 : #else
219 : #define HARMONY_STAGED(V) HARMONY_STAGED_BASE(V)
220 : #endif
221 :
222 : // Features that are shipping (turned on by default, but internal flag remains).
223 : #define HARMONY_SHIPPING_BASE(V) \
224 : V(harmony_strict_legacy_accessor_builtins, \
225 : "treat __defineGetter__ and related functions as strict") \
226 : V(harmony_restrictive_generators, \
227 : "harmony restrictions on generator declarations") \
228 : V(harmony_object_rest_spread, "harmony object rest spread properties") \
229 : V(harmony_sharedarraybuffer, "harmony sharedarraybuffer") \
230 : V(harmony_regexp_dotall, "harmony regexp dotAll flag") \
231 : V(harmony_regexp_lookbehind, "harmony regexp lookbehind") \
232 : V(harmony_regexp_named_captures, "harmony regexp named captures") \
233 : V(harmony_async_iteration, "harmony async iteration") \
234 : V(harmony_template_escapes, \
235 : "harmony invalid escapes in tagged template literals") \
236 : V(harmony_promise_finally, "harmony Promise.prototype.finally")
237 :
238 : #ifdef V8_INTL_SUPPORT
239 : #define HARMONY_SHIPPING(V) \
240 : HARMONY_SHIPPING_BASE(V) \
241 : V(harmony_plural_rules, "Intl.PluralRules")
242 : #else
243 : #define HARMONY_SHIPPING(V) HARMONY_SHIPPING_BASE(V)
244 : #endif
245 :
246 : // Once a shipping feature has proved stable in the wild, it will be dropped
247 : // from HARMONY_SHIPPING, all occurrences of the FLAG_ variable are removed,
248 : // and associated tests are moved from the harmony directory to the appropriate
249 : // esN directory.
250 :
251 :
252 : #define FLAG_INPROGRESS_FEATURES(id, description) \
253 : DEFINE_BOOL(id, false, "enable " #description " (in progress)")
254 : HARMONY_INPROGRESS(FLAG_INPROGRESS_FEATURES)
255 : #undef FLAG_INPROGRESS_FEATURES
256 :
257 : #define FLAG_STAGED_FEATURES(id, description) \
258 : DEFINE_BOOL(id, false, "enable " #description) \
259 : DEFINE_IMPLICATION(harmony, id)
260 151958 : HARMONY_STAGED(FLAG_STAGED_FEATURES)
261 : #undef FLAG_STAGED_FEATURES
262 :
263 : #define FLAG_SHIPPING_FEATURES(id, description) \
264 : DEFINE_BOOL(id, true, "enable " #description) \
265 : DEFINE_NEG_NEG_IMPLICATION(harmony_shipping, id)
266 151958 : HARMONY_SHIPPING(FLAG_SHIPPING_FEATURES)
267 : #undef FLAG_SHIPPING_FEATURES
268 :
269 : #ifdef V8_INTL_SUPPORT
270 : DEFINE_BOOL(icu_timezone_data, false,
271 : "get information about timezones from ICU")
272 : #endif
273 :
274 : #ifdef V8_ENABLE_FUTURE
275 : #define FUTURE_BOOL true
276 : #else
277 : #define FUTURE_BOOL false
278 : #endif
279 : DEFINE_BOOL(future, FUTURE_BOOL,
280 : "Implies all staged features that we want to ship in the "
281 : "not-too-far future")
282 :
283 151958 : DEFINE_IMPLICATION(future, preparser_scope_analysis)
284 :
285 : // Flags for experimental implementation features.
286 : DEFINE_BOOL(allocation_site_pretenuring, true,
287 : "pretenure with allocation sites")
288 : DEFINE_BOOL(page_promotion, true, "promote pages based on utilization")
289 : DEFINE_INT(page_promotion_threshold, 70,
290 : "min percentage of live bytes on a page to enable fast evacuation")
291 : DEFINE_BOOL(trace_pretenuring, false,
292 : "trace pretenuring decisions of HAllocate instructions")
293 : DEFINE_BOOL(trace_pretenuring_statistics, false,
294 : "trace allocation site pretenuring statistics")
295 : DEFINE_BOOL(track_fields, true, "track fields with only smi values")
296 : DEFINE_BOOL(track_double_fields, true, "track fields with double values")
297 : DEFINE_BOOL(track_heap_object_fields, true, "track fields with heap values")
298 : DEFINE_BOOL(track_computed_fields, true, "track computed boilerplate fields")
299 151958 : DEFINE_IMPLICATION(track_double_fields, track_fields)
300 151958 : DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
301 151958 : DEFINE_IMPLICATION(track_computed_fields, track_fields)
302 : DEFINE_BOOL(track_field_types, true, "track field types")
303 151958 : DEFINE_IMPLICATION(track_field_types, track_fields)
304 151958 : DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
305 : DEFINE_BOOL(trace_block_coverage, false,
306 : "trace collected block coverage information")
307 : DEFINE_BOOL(feedback_normalization, false,
308 : "feed back normalization to constructors")
309 : // TODO(jkummerow): This currently adds too much load on the stub cache.
310 : DEFINE_BOOL_READONLY(internalize_on_the_fly, false,
311 : "internalize string keys for generic keyed ICs on the fly")
312 :
313 : // Flags for optimization types.
314 : DEFINE_BOOL(optimize_for_size, false,
315 : "Enables optimizations which favor memory size over execution "
316 : "speed")
317 :
318 151958 : DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
319 :
320 : // Flags for data representation optimizations
321 : DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
322 :
323 : // Flags for Ignition.
324 : DEFINE_BOOL(ignition_elide_noneffectful_bytecodes, true,
325 : "elide bytecodes which won't have any external effect")
326 : DEFINE_BOOL(ignition_reo, true, "use ignition register equivalence optimizer")
327 : DEFINE_BOOL(ignition_filter_expression_positions, true,
328 : "filter expression positions before the bytecode pipeline")
329 : DEFINE_BOOL(print_bytecode, false,
330 : "print bytecode generated by ignition interpreter")
331 : DEFINE_STRING(print_bytecode_filter, "*",
332 : "filter for selecting which functions to print bytecode")
333 : #ifdef V8_TRACE_IGNITION
334 : DEFINE_BOOL(trace_ignition, false,
335 : "trace the bytecodes executed by the ignition interpreter")
336 : #endif
337 : DEFINE_BOOL(trace_ignition_codegen, false,
338 : "trace the codegen of ignition interpreter bytecode handlers")
339 : DEFINE_BOOL(trace_ignition_dispatches, false,
340 : "traces the dispatches to bytecode handlers by the ignition "
341 : "interpreter")
342 : DEFINE_STRING(trace_ignition_dispatches_output_file, nullptr,
343 : "the file to which the bytecode handler dispatch table is "
344 : "written (by default, the table is not written to a file)")
345 :
346 : DEFINE_BOOL(fast_math, true, "faster (but maybe less accurate) math functions")
347 : DEFINE_BOOL(trace_track_allocation_sites, false,
348 : "trace the tracking of allocation sites")
349 : DEFINE_BOOL(trace_migration, false, "trace object migration")
350 : DEFINE_BOOL(trace_generalization, false, "trace map generalization")
351 :
352 : // Flags for concurrent recompilation.
353 : DEFINE_BOOL(concurrent_recompilation, true,
354 : "optimizing hot functions asynchronously on a separate thread")
355 : DEFINE_BOOL(trace_concurrent_recompilation, false,
356 : "track concurrent recompilation")
357 : DEFINE_INT(concurrent_recompilation_queue_length, 8,
358 : "the length of the concurrent compilation queue")
359 : DEFINE_INT(concurrent_recompilation_delay, 0,
360 : "artificial compilation delay in ms")
361 : DEFINE_BOOL(block_concurrent_recompilation, false,
362 : "block queued jobs until released")
363 :
364 : // Flags for stress-testing the compiler.
365 : DEFINE_INT(stress_runs, 0, "number of stress runs")
366 : DEFINE_INT(deopt_every_n_times, 0,
367 : "deoptimize every n times a deopt point is passed")
368 : DEFINE_BOOL(print_deopt_stress, false, "print number of possible deopt points")
369 :
370 : // Flags for TurboFan.
371 : DEFINE_BOOL(turbo_sp_frame_access, false,
372 : "use stack pointer-relative access to frame wherever possible")
373 : DEFINE_BOOL(turbo_preprocess_ranges, true,
374 : "run pre-register allocation heuristics")
375 : DEFINE_STRING(turbo_filter, "*", "optimization filter for TurboFan compiler")
376 : DEFINE_BOOL(trace_turbo, false, "trace generated TurboFan IR")
377 : DEFINE_BOOL(trace_turbo_graph, false, "trace generated TurboFan graphs")
378 : DEFINE_BOOL(trace_turbo_scheduled, false, "trace TurboFan IR with schedule")
379 151958 : DEFINE_IMPLICATION(trace_turbo_scheduled, trace_turbo_graph)
380 : DEFINE_STRING(trace_turbo_cfg_file, nullptr,
381 : "trace turbo cfg graph (for C1 visualizer) to a given file name")
382 : DEFINE_BOOL(trace_turbo_types, true, "trace TurboFan's types")
383 : DEFINE_BOOL(trace_turbo_scheduler, false, "trace TurboFan's scheduler")
384 : DEFINE_BOOL(trace_turbo_reduction, false, "trace TurboFan's various reducers")
385 : DEFINE_BOOL(trace_turbo_trimming, false, "trace TurboFan's graph trimmer")
386 : DEFINE_BOOL(trace_turbo_jt, false, "trace TurboFan's jump threading")
387 : DEFINE_BOOL(trace_turbo_ceq, false, "trace TurboFan's control equivalence")
388 : DEFINE_BOOL(trace_turbo_loop, false, "trace TurboFan's loop optimizations")
389 : DEFINE_BOOL(trace_alloc, false, "trace register allocator")
390 : DEFINE_BOOL(trace_all_uses, false, "trace all use positions")
391 : DEFINE_BOOL(trace_representation, false, "trace representation types")
392 : DEFINE_BOOL(turbo_verify, DEBUG_BOOL, "verify TurboFan graphs at each phase")
393 : DEFINE_STRING(turbo_verify_machine_graph, nullptr,
394 : "verify TurboFan machine graph before instruction selection")
395 : #ifdef ENABLE_VERIFY_CSA
396 : DEFINE_BOOL(verify_csa, DEBUG_BOOL,
397 : "verify TurboFan machine graph of code stubs")
398 : #else
399 : // Define the flag as read-only-false so that code still compiles even in the
400 : // non-ENABLE_VERIFY_CSA configuration.
401 : DEFINE_BOOL_READONLY(verify_csa, false,
402 : "verify TurboFan machine graph of code stubs")
403 : #endif
404 : DEFINE_BOOL(trace_verify_csa, false, "trace code stubs verification")
405 : DEFINE_STRING(csa_trap_on_node, nullptr,
406 : "trigger break point when a node with given id is created in "
407 : "given stub. The format is: StubName,NodeId")
408 : DEFINE_BOOL(turbo_stats, false, "print TurboFan statistics")
409 : DEFINE_BOOL(turbo_stats_nvp, false,
410 : "print TurboFan statistics in machine-readable format")
411 : DEFINE_BOOL(turbo_splitting, true, "split nodes during scheduling in TurboFan")
412 : DEFINE_BOOL(function_context_specialization, false,
413 : "enable function context specialization in TurboFan")
414 : DEFINE_BOOL(turbo_inlining, true, "enable inlining in TurboFan")
415 : DEFINE_INT(max_inlining_levels, 5, "maximum number of inlining levels")
416 : DEFINE_INT(max_inlined_bytecode_size, 500,
417 : "maximum size of bytecode for a single inlining")
418 : DEFINE_INT(max_inlined_bytecode_size_cumulative, 1000,
419 : "maximum cumulative size of bytecode considered for inlining")
420 : DEFINE_FLOAT(reserve_inline_budget_scale_factor, 1.2,
421 : "maximum cumulative size of bytecode considered for inlining")
422 : DEFINE_INT(max_inlined_bytecode_size_small, 30,
423 : "maximum size of bytecode considered for small function inlining")
424 : DEFINE_FLOAT(min_inlining_frequency, 0.15, "minimum frequency for inlining")
425 : DEFINE_BOOL(polymorphic_inlining, true, "polymorphic inlining")
426 : DEFINE_BOOL(stress_inline, false,
427 : "set high thresholds for inlining to inline as much as possible")
428 151958 : DEFINE_VALUE_IMPLICATION(stress_inline, max_inlining_levels, 999999)
429 151958 : DEFINE_VALUE_IMPLICATION(stress_inline, max_inlined_bytecode_size, 999999)
430 151958 : DEFINE_VALUE_IMPLICATION(stress_inline, max_inlined_bytecode_size_cumulative,
431 : 999999)
432 151958 : DEFINE_VALUE_IMPLICATION(stress_inline, min_inlining_frequency, 0)
433 151958 : DEFINE_VALUE_IMPLICATION(stress_inline, polymorphic_inlining, true)
434 : DEFINE_BOOL(trace_turbo_inlining, false, "trace TurboFan inlining")
435 : DEFINE_BOOL(inline_accessors, true, "inline JavaScript accessors")
436 : DEFINE_BOOL(inline_into_try, true, "inline into try blocks")
437 : DEFINE_BOOL(turbo_inline_array_builtins, true,
438 : "inline array builtins in TurboFan code")
439 : DEFINE_BOOL(use_osr, true, "use on-stack replacement")
440 : DEFINE_BOOL(trace_osr, false, "trace on-stack replacement")
441 : DEFINE_BOOL(analyze_environment_liveness, true,
442 : "analyze liveness of environment slots and zap dead values")
443 : DEFINE_BOOL(trace_environment_liveness, false,
444 : "trace liveness of local variable slots")
445 : DEFINE_BOOL(turbo_load_elimination, true, "enable load elimination in TurboFan")
446 : DEFINE_BOOL(trace_turbo_load_elimination, false,
447 : "trace TurboFan load elimination")
448 : DEFINE_BOOL(turbo_profiling, false, "enable profiling in TurboFan")
449 : DEFINE_BOOL(turbo_verify_allocation, DEBUG_BOOL,
450 : "verify register allocation in TurboFan")
451 : DEFINE_BOOL(turbo_move_optimization, true, "optimize gap moves in TurboFan")
452 : DEFINE_BOOL(turbo_jt, true, "enable jump threading in TurboFan")
453 : DEFINE_BOOL(turbo_loop_peeling, true, "Turbofan loop peeling")
454 : DEFINE_BOOL(turbo_loop_variable, true, "Turbofan loop variable optimization")
455 : DEFINE_BOOL(turbo_cf_optimization, true, "optimize control flow in TurboFan")
456 : DEFINE_BOOL(turbo_frame_elision, true, "elide frames in TurboFan")
457 : DEFINE_BOOL(turbo_escape, true, "enable escape analysis")
458 : DEFINE_BOOL(turbo_instruction_scheduling, false,
459 : "enable instruction scheduling in TurboFan")
460 : DEFINE_BOOL(turbo_stress_instruction_scheduling, false,
461 : "randomly schedule instructions to stress dependency tracking")
462 : DEFINE_BOOL(turbo_store_elimination, true,
463 : "enable store-store elimination in TurboFan")
464 : DEFINE_BOOL(trace_store_elimination, false, "trace store elimination")
465 : DEFINE_BOOL(turbo_experimental, false,
466 : "enable crashing features, for testing purposes only")
467 : DEFINE_BOOL(turbo_rewrite_far_jumps, true,
468 : "rewrite far to near jumps (ia32,x64)")
469 :
470 : // Flags to help platform porters
471 : DEFINE_BOOL(minimal, false,
472 : "simplifies execution model to make porting "
473 : "easier (e.g. always use Ignition, never optimize)")
474 151958 : DEFINE_NEG_IMPLICATION(minimal, opt)
475 151958 : DEFINE_NEG_IMPLICATION(minimal, use_ic)
476 :
477 : // Flags for native WebAssembly.
478 : DEFINE_BOOL(expose_wasm, true, "expose wasm interface to JavaScript")
479 : DEFINE_BOOL(assume_asmjs_origin, false,
480 : "force wasm decoder to assume input is internal asm-wasm format")
481 : DEFINE_BOOL(wasm_disable_structured_cloning, false,
482 : "disable wasm structured cloning")
483 : DEFINE_INT(wasm_num_compilation_tasks, 10,
484 : "number of parallel compilation tasks for wasm")
485 : DEFINE_BOOL(wasm_async_compilation, false,
486 : "enable actual asynchronous compilation for WebAssembly.compile")
487 : DEFINE_BOOL(wasm_stream_compilation, false,
488 : "enable streaming compilation for WebAssembly")
489 151958 : DEFINE_IMPLICATION(wasm_stream_compilation, wasm_async_compilation)
490 : DEFINE_BOOL(wasm_test_streaming, false,
491 : "use streaming compilation instead of async compilation for tests")
492 151958 : DEFINE_IMPLICATION(wasm_test_streaming, wasm_stream_compilation)
493 : // Parallel compilation confuses turbo_stats, force single threaded.
494 151958 : DEFINE_VALUE_IMPLICATION(turbo_stats, wasm_num_compilation_tasks, 0)
495 : DEFINE_UINT(wasm_max_mem_pages, v8::internal::wasm::kV8MaxWasmMemoryPages,
496 : "maximum memory size of a wasm instance")
497 : DEFINE_UINT(wasm_max_table_size, v8::internal::wasm::kV8MaxWasmTableSize,
498 : "maximum table size of a wasm instance")
499 : DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code")
500 : DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code")
501 : DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code")
502 : DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code")
503 : DEFINE_BOOL(trace_wasm_streaming, false,
504 : "trace streaming compilation of wasm code")
505 : DEFINE_INT(trace_wasm_ast_start, 0,
506 : "start function for wasm AST trace (inclusive)")
507 : DEFINE_INT(trace_wasm_ast_end, 0, "end function for wasm AST trace (exclusive)")
508 : DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N")
509 : DEFINE_BOOL(wasm_break_on_decoder_error, false,
510 : "debug break when wasm decoder encounters an error")
511 : DEFINE_BOOL(wasm_trace_memory, false,
512 : "print all memory updates performed in wasm code")
513 :
514 : DEFINE_BOOL(validate_asm, true, "validate asm.js modules before compiling")
515 : DEFINE_BOOL(suppress_asm_messages, false,
516 : "don't emit asm.js related messages (for golden file testing)")
517 : DEFINE_BOOL(trace_asm_time, false, "log asm.js timing info to the console")
518 : DEFINE_BOOL(trace_asm_scanner, false,
519 : "log tokens encountered by asm.js scanner")
520 : DEFINE_BOOL(trace_asm_parser, false, "verbose logging of asm.js parse failures")
521 : DEFINE_BOOL(stress_validate_asm, false, "try to validate everything as asm.js")
522 :
523 : DEFINE_BOOL(dump_wasm_module, false, "dump wasm module bytes")
524 : DEFINE_STRING(dump_wasm_module_path, nullptr,
525 : "directory to dump wasm modules to")
526 :
527 : DEFINE_BOOL(experimental_wasm_simd, false,
528 : "enable prototype simd opcodes for wasm")
529 : DEFINE_BOOL(experimental_wasm_eh, false,
530 : "enable prototype exception handling opcodes for wasm")
531 : DEFINE_BOOL(experimental_wasm_mv, false,
532 : "enable prototype multi-value support for wasm")
533 : DEFINE_BOOL(experimental_wasm_threads, false,
534 : "enable prototype threads for wasm")
535 :
536 : DEFINE_BOOL(wasm_opt, false, "enable wasm optimization")
537 : DEFINE_BOOL(wasm_no_bounds_checks, false,
538 : "disable bounds checks (performance testing only)")
539 : DEFINE_BOOL(wasm_no_stack_checks, false,
540 : "disable stack checks (performance testing only)")
541 :
542 : DEFINE_BOOL(wasm_trap_handler, false,
543 : "use signal handlers to catch out of bounds memory access in wasm"
544 : " (experimental, currently Linux x86_64 only)")
545 : DEFINE_BOOL(wasm_code_fuzzer_gen_test, false,
546 : "Generate a test case when running the wasm-code fuzzer")
547 : DEFINE_BOOL(print_wasm_code, false, "Print WebAssembly code")
548 : DEFINE_BOOL(wasm_interpret_all, false,
549 : "Execute all wasm code in the wasm interpreter")
550 : DEFINE_BOOL(asm_wasm_lazy_compilation, false,
551 : "enable lazy compilation for asm-wasm modules")
552 151958 : DEFINE_IMPLICATION(validate_asm, asm_wasm_lazy_compilation)
553 : DEFINE_BOOL(wasm_lazy_compilation, false,
554 : "enable lazy compilation for all wasm modules")
555 : // wasm-interpret-all resets {asm-,}wasm-lazy-compilation.
556 151958 : DEFINE_NEG_IMPLICATION(wasm_interpret_all, asm_wasm_lazy_compilation)
557 151958 : DEFINE_NEG_IMPLICATION(wasm_interpret_all, wasm_lazy_compilation)
558 :
559 : // Profiler flags.
560 : DEFINE_INT(frame_count, 1, "number of stack frames inspected by the profiler")
561 : DEFINE_INT(type_info_threshold, 25,
562 : "percentage of ICs that must have type info to allow optimization")
563 : DEFINE_INT(generic_ic_threshold, 30,
564 : "max percentage of megamorphic/generic ICs to allow optimization")
565 : DEFINE_INT(self_opt_count, 130, "call count before self-optimization")
566 :
567 : // Garbage collections flags.
568 : DEFINE_INT(min_semi_space_size, 0,
569 : "min size of a semi-space (in MBytes), the new space consists of two"
570 : "semi-spaces")
571 : DEFINE_INT(max_semi_space_size, 0,
572 : "max size of a semi-space (in MBytes), the new space consists of two"
573 : "semi-spaces")
574 : DEFINE_INT(semi_space_growth_factor, 2, "factor by which to grow the new space")
575 : DEFINE_BOOL(experimental_new_space_growth_heuristic, false,
576 : "Grow the new space based on the percentage of survivors instead "
577 : "of their absolute value.")
578 : DEFINE_INT(max_old_space_size, 0, "max size of the old space (in Mbytes)")
579 : DEFINE_INT(initial_old_space_size, 0, "initial old space size (in Mbytes)")
580 : DEFINE_BOOL(gc_global, false, "always perform global GCs")
581 : DEFINE_INT(gc_interval, -1, "garbage collect after <n> allocations")
582 : DEFINE_INT(retain_maps_for_n_gc, 0,
583 : "keeps maps alive for <n> old space garbage collections")
584 : DEFINE_BOOL(trace_gc, false,
585 : "print one trace line following each garbage collection")
586 : DEFINE_BOOL(trace_gc_nvp, false,
587 : "print one detailed trace line in name=value format "
588 : "after each garbage collection")
589 : DEFINE_BOOL(trace_gc_ignore_scavenger, false,
590 : "do not print trace line after scavenger collection")
591 : DEFINE_BOOL(trace_idle_notification, false,
592 : "print one trace line following each idle notification")
593 : DEFINE_BOOL(trace_idle_notification_verbose, false,
594 : "prints the heap state used by the idle notification")
595 : DEFINE_BOOL(trace_gc_verbose, false,
596 : "print more details following each garbage collection")
597 : DEFINE_INT(trace_allocation_stack_interval, -1,
598 : "print stack trace after <n> free-list allocations")
599 : DEFINE_BOOL(trace_fragmentation, false, "report fragmentation for old space")
600 : DEFINE_BOOL(trace_fragmentation_verbose, false,
601 : "report fragmentation for old space (detailed)")
602 : DEFINE_BOOL(trace_evacuation, false, "report evacuation statistics")
603 : DEFINE_BOOL(trace_mutator_utilization, false,
604 : "print mutator utilization, allocation speed, gc speed")
605 : DEFINE_BOOL(incremental_marking, true, "use incremental marking")
606 : DEFINE_BOOL(incremental_marking_wrappers, true,
607 : "use incremental marking for marking wrappers")
608 : DEFINE_BOOL(parallel_scavenge, true, "parallel scavenge")
609 : DEFINE_BOOL(trace_parallel_scavenge, false, "trace parallel scavenge")
610 : DEFINE_BOOL(write_protect_code_memory, false, "write protect code memory")
611 : #ifdef V8_CONCURRENT_MARKING
612 : #define V8_CONCURRENT_MARKING_BOOL true
613 : #else
614 : #define V8_CONCURRENT_MARKING_BOOL false
615 : #endif
616 : DEFINE_BOOL(concurrent_marking, V8_CONCURRENT_MARKING_BOOL,
617 : "use concurrent marking")
618 : DEFINE_BOOL(trace_concurrent_marking, false, "trace concurrent marking")
619 : DEFINE_BOOL(minor_mc_parallel_marking, true,
620 : "use parallel marking for the young generation")
621 : DEFINE_BOOL(trace_minor_mc_parallel_marking, false,
622 : "trace parallel marking for the young generation")
623 : DEFINE_BOOL(minor_mc, false, "perform young generation mark compact GCs")
624 : DEFINE_BOOL(black_allocation, true, "use black allocation")
625 : DEFINE_BOOL(concurrent_store_buffer, true,
626 : "use concurrent store buffer processing")
627 : DEFINE_BOOL(concurrent_sweeping, true, "use concurrent sweeping")
628 : DEFINE_BOOL(parallel_compaction, true, "use parallel compaction")
629 : DEFINE_BOOL(parallel_pointer_update, true,
630 : "use parallel pointer update during compaction")
631 : DEFINE_BOOL(trace_incremental_marking, false,
632 : "trace progress of the incremental marking")
633 : DEFINE_BOOL(track_gc_object_stats, false,
634 : "track object counts and memory usage")
635 : DEFINE_BOOL(trace_gc_object_stats, false,
636 : "trace object counts and memory usage")
637 : DEFINE_BOOL(track_retaining_path, false,
638 : "enable support for tracking retaining path")
639 : DEFINE_INT(gc_stats, 0, "Used by tracing internally to enable gc statistics")
640 151958 : DEFINE_IMPLICATION(trace_gc_object_stats, track_gc_object_stats)
641 151958 : DEFINE_VALUE_IMPLICATION(track_gc_object_stats, gc_stats, 1)
642 151958 : DEFINE_VALUE_IMPLICATION(trace_gc_object_stats, gc_stats, 1)
643 151958 : DEFINE_NEG_IMPLICATION(trace_gc_object_stats, incremental_marking)
644 151958 : DEFINE_NEG_IMPLICATION(track_retaining_path, incremental_marking)
645 151958 : DEFINE_NEG_IMPLICATION(track_retaining_path, concurrent_marking)
646 : DEFINE_BOOL(track_detached_contexts, true,
647 : "track native contexts that are expected to be garbage collected")
648 : DEFINE_BOOL(trace_detached_contexts, false,
649 : "trace native contexts that are expected to be garbage collected")
650 151958 : DEFINE_IMPLICATION(trace_detached_contexts, track_detached_contexts)
651 : #ifdef VERIFY_HEAP
652 : DEFINE_BOOL(verify_heap, false, "verify heap pointers before and after GC")
653 : DEFINE_BOOL(verify_heap_skip_remembered_set, false,
654 : "disable remembered set verification")
655 : #endif
656 : DEFINE_BOOL(move_object_start, true, "enable moving of object starts")
657 : DEFINE_BOOL(memory_reducer, true, "use memory reducer")
658 : DEFINE_INT(heap_growing_percent, 0,
659 : "specifies heap growing factor as (1 + heap_growing_percent/100)")
660 : DEFINE_INT(v8_os_page_size, 0, "override OS page size (in KBytes)")
661 : DEFINE_BOOL(always_compact, false, "Perform compaction on every full GC")
662 : DEFINE_BOOL(never_compact, false,
663 : "Never perform compaction on full GC - testing only")
664 : DEFINE_BOOL(compact_code_space, true, "Compact code space on full collections")
665 : DEFINE_BOOL(use_marking_progress_bar, true,
666 : "Use a progress bar to scan large objects in increments when "
667 : "incremental marking is active.")
668 : DEFINE_BOOL(force_marking_deque_overflows, false,
669 : "force overflows of marking deque by reducing it's size "
670 : "to 64 words")
671 : DEFINE_BOOL(stress_compaction, false,
672 : "stress the GC compactor to flush out bugs (implies "
673 : "--force_marking_deque_overflows)")
674 : DEFINE_BOOL(stress_incremental_marking, false,
675 : "force incremental marking for small heaps and run it more often")
676 : DEFINE_BOOL(manual_evacuation_candidates_selection, false,
677 : "Test mode only flag. It allows an unit test to select evacuation "
678 : "candidates pages (requires --stress_compaction).")
679 : DEFINE_BOOL(fast_promotion_new_space, false,
680 : "fast promote new space on high survival rates")
681 :
682 : // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
683 : DEFINE_BOOL(debug_code, DEBUG_BOOL,
684 : "generate extra code (assertions) for debugging")
685 : DEFINE_BOOL(code_comments, false,
686 : "emit comments in code disassembly; for more readable source "
687 : "positions you should add --no-concurrent_recompilation")
688 : DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available")
689 : DEFINE_BOOL(enable_ssse3, true, "enable use of SSSE3 instructions if available")
690 : DEFINE_BOOL(enable_sse4_1, true,
691 : "enable use of SSE4.1 instructions if available")
692 : DEFINE_BOOL(enable_sahf, true,
693 : "enable use of SAHF instruction if available (X64 only)")
694 : DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available")
695 : DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available")
696 : DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available")
697 : DEFINE_BOOL(enable_bmi2, true, "enable use of BMI2 instructions if available")
698 : DEFINE_BOOL(enable_lzcnt, true, "enable use of LZCNT instruction if available")
699 : DEFINE_BOOL(enable_popcnt, true,
700 : "enable use of POPCNT instruction if available")
701 : DEFINE_STRING(arm_arch, ARM_ARCH_DEFAULT,
702 : "generate instructions for the selected ARM architecture if "
703 : "available: armv6, armv7, armv7+sudiv or armv8")
704 : DEFINE_BOOL(enable_vldr_imm, false,
705 : "enable use of constant pools for double immediate (ARM only)")
706 : DEFINE_BOOL(force_long_branches, false,
707 : "force all emitted branches to be in long mode (MIPS/PPC only)")
708 : DEFINE_STRING(mcpu, "auto", "enable optimization for specific cpu")
709 :
710 : // Deprecated ARM flags (replaced by arm_arch).
711 : DEFINE_MAYBE_BOOL(enable_armv7, "deprecated (use --arm_arch instead)")
712 : DEFINE_MAYBE_BOOL(enable_vfp3, "deprecated (use --arm_arch instead)")
713 : DEFINE_MAYBE_BOOL(enable_32dregs, "deprecated (use --arm_arch instead)")
714 : DEFINE_MAYBE_BOOL(enable_neon, "deprecated (use --arm_arch instead)")
715 : DEFINE_MAYBE_BOOL(enable_sudiv, "deprecated (use --arm_arch instead)")
716 : DEFINE_MAYBE_BOOL(enable_armv8, "deprecated (use --arm_arch instead)")
717 :
718 : // regexp-macro-assembler-*.cc
719 : DEFINE_BOOL(enable_regexp_unaligned_accesses, true,
720 : "enable unaligned accesses for the regexp engine")
721 :
722 : // api.cc
723 : DEFINE_BOOL(script_streaming, true, "enable parsing on background")
724 : DEFINE_BOOL(disable_old_api_accessors, false,
725 : "Disable old-style API accessors whose setters trigger through the "
726 : "prototype chain")
727 :
728 : // bootstrapper.cc
729 : DEFINE_STRING(expose_natives_as, nullptr, "expose natives in global object")
730 : DEFINE_BOOL(expose_free_buffer, false, "expose freeBuffer extension")
731 : DEFINE_BOOL(expose_gc, false, "expose gc extension")
732 : DEFINE_STRING(expose_gc_as, nullptr,
733 : "expose gc extension under the specified name")
734 151958 : DEFINE_IMPLICATION(expose_gc_as, expose_gc)
735 : DEFINE_BOOL(expose_externalize_string, false,
736 : "expose externalize string extension")
737 : DEFINE_BOOL(expose_trigger_failure, false, "expose trigger-failure extension")
738 : DEFINE_INT(stack_trace_limit, 10, "number of stack frames to capture")
739 : DEFINE_BOOL(builtins_in_stack_traces, false,
740 : "show built-in functions in stack traces")
741 :
742 : // builtins.cc
743 : DEFINE_BOOL(allow_unsafe_function_constructor, false,
744 : "allow invoking the function constructor without security checks")
745 :
746 : // builtins-ia32.cc
747 : DEFINE_BOOL(inline_new, true, "use fast inline allocation")
748 :
749 : // codegen-ia32.cc / codegen-arm.cc
750 : DEFINE_BOOL(trace_codegen, false,
751 : "print name of functions for which code is generated")
752 : DEFINE_BOOL(trace, false, "trace function calls")
753 :
754 : // codegen.cc
755 : DEFINE_BOOL(lazy, true, "use lazy compilation")
756 : DEFINE_BOOL(trace_opt, false, "trace lazy optimization")
757 : DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing")
758 151958 : DEFINE_IMPLICATION(trace_opt_verbose, trace_opt)
759 : DEFINE_BOOL(trace_opt_stats, false, "trace lazy optimization statistics")
760 : DEFINE_BOOL(trace_deopt, false, "trace optimize function deoptimization")
761 : DEFINE_BOOL(trace_file_names, false,
762 : "include file names in trace-opt/trace-deopt output")
763 : DEFINE_BOOL(trace_interrupts, false, "trace interrupts when they are handled")
764 : DEFINE_BOOL(opt, true, "use adaptive optimizations")
765 : DEFINE_BOOL(always_opt, false, "always try to optimize functions")
766 : DEFINE_BOOL(always_osr, false, "always try to OSR functions")
767 : DEFINE_BOOL(prepare_always_opt, false, "prepare for turning on always opt")
768 :
769 : DEFINE_BOOL(trace_serializer, false, "print code serializer trace")
770 : #ifdef DEBUG
771 : DEFINE_BOOL(external_reference_stats, false,
772 : "print statistics on external references used during serialization")
773 : #endif // DEBUG
774 :
775 : // compilation-cache.cc
776 : DEFINE_BOOL(compilation_cache, true, "enable compilation cache")
777 :
778 : DEFINE_BOOL(cache_prototype_transitions, true, "cache prototype transitions")
779 :
780 : // compiler-dispatcher.cc
781 : DEFINE_BOOL(compiler_dispatcher, false, "enable compiler dispatcher")
782 : DEFINE_BOOL(trace_compiler_dispatcher, false,
783 : "trace compiler dispatcher activity")
784 :
785 : // compiler-dispatcher-job.cc
786 : DEFINE_BOOL(
787 : trace_compiler_dispatcher_jobs, false,
788 : "trace progress of individual jobs managed by the compiler dispatcher")
789 :
790 : // cpu-profiler.cc
791 : DEFINE_INT(cpu_profiler_sampling_interval, 1000,
792 : "CPU profiler sampling interval in microseconds")
793 :
794 : // Array abuse tracing
795 : DEFINE_BOOL(trace_js_array_abuse, false,
796 : "trace out-of-bounds accesses to JS arrays")
797 : DEFINE_BOOL(trace_external_array_abuse, false,
798 : "trace out-of-bounds-accesses to external arrays")
799 : DEFINE_BOOL(trace_array_abuse, false,
800 : "trace out-of-bounds accesses to all arrays")
801 151958 : DEFINE_IMPLICATION(trace_array_abuse, trace_js_array_abuse)
802 151958 : DEFINE_IMPLICATION(trace_array_abuse, trace_external_array_abuse)
803 :
804 : // debugger
805 : DEFINE_BOOL(enable_liveedit, true, "enable liveedit experimental feature")
806 : DEFINE_BOOL(
807 : trace_side_effect_free_debug_evaluate, false,
808 : "print debug messages for side-effect-free debug-evaluate for testing")
809 : DEFINE_BOOL(hard_abort, true, "abort by crashing")
810 :
811 : // inspector
812 : DEFINE_BOOL(expose_inspector_scripts, false,
813 : "expose injected-script-source.js for debugging")
814 :
815 : // execution.cc
816 : DEFINE_INT(stack_size, V8_DEFAULT_STACK_SIZE_KB,
817 : "default size of stack region v8 is allowed to use (in kBytes)")
818 :
819 : // frames.cc
820 : DEFINE_INT(max_stack_trace_source_length, 300,
821 : "maximum length of function source code printed in a stack trace.")
822 :
823 : // execution.cc, messages.cc
824 : DEFINE_BOOL(clear_exceptions_on_js_entry, false,
825 : "clear pending exceptions when entering JavaScript")
826 :
827 : // counters.cc
828 : DEFINE_INT(histogram_interval, 600000,
829 : "time interval in ms for aggregating memory histograms")
830 :
831 : // heap-snapshot-generator.cc
832 : DEFINE_BOOL(heap_profiler_trace_objects, false,
833 : "Dump heap object allocations/movements/size_updates")
834 :
835 :
836 : // sampling-heap-profiler.cc
837 : DEFINE_BOOL(sampling_heap_profiler_suppress_randomness, false,
838 : "Use constant sample intervals to eliminate test flakiness")
839 :
840 :
841 : // v8.cc
842 : DEFINE_BOOL(use_idle_notification, true,
843 : "Use idle notification to reduce memory footprint.")
844 : // ic.cc
845 : DEFINE_BOOL(use_ic, true, "use inline caching")
846 : DEFINE_BOOL(trace_ic, false,
847 : "trace inline cache state transitions for tools/ic-processor")
848 151958 : DEFINE_IMPLICATION(trace_ic, log_code)
849 : DEFINE_INT(ic_stats, 0, "inline cache state transitions statistics")
850 151958 : DEFINE_VALUE_IMPLICATION(trace_ic, ic_stats, 1)
851 : DEFINE_BOOL_READONLY(track_constant_fields, false,
852 : "enable constant field tracking")
853 : DEFINE_BOOL_READONLY(modify_map_inplace, false, "enable in-place map updates")
854 :
855 : // macro-assembler-ia32.cc
856 : DEFINE_BOOL(native_code_counters, false,
857 : "generate extra code for manipulating stats counters")
858 :
859 : // objects.cc
860 : DEFINE_BOOL(thin_strings, true, "Enable ThinString support")
861 : DEFINE_BOOL(trace_weak_arrays, false, "Trace WeakFixedArray usage")
862 : DEFINE_BOOL(trace_prototype_users, false,
863 : "Trace updates to prototype user tracking")
864 : DEFINE_BOOL(use_verbose_printer, true, "allows verbose printing")
865 : DEFINE_BOOL(trace_for_in_enumerate, false, "Trace for-in enumerate slow-paths")
866 : #if V8_TRACE_MAPS
867 : DEFINE_BOOL(trace_maps, false, "trace map creation")
868 : #endif
869 :
870 : // parser.cc
871 : DEFINE_BOOL(allow_natives_syntax, false, "allow natives syntax")
872 : DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing")
873 : DEFINE_BOOL(trace_preparse, false, "trace preparsing decisions")
874 : DEFINE_BOOL(lazy_inner_functions, true, "enable lazy parsing inner functions")
875 : DEFINE_BOOL(aggressive_lazy_inner_functions, false,
876 : "even lazier inner function parsing")
877 151958 : DEFINE_IMPLICATION(aggressive_lazy_inner_functions, lazy_inner_functions)
878 : DEFINE_BOOL(preparser_scope_analysis, true,
879 : "perform scope analysis for preparsed inner functions")
880 151958 : DEFINE_IMPLICATION(preparser_scope_analysis, aggressive_lazy_inner_functions)
881 :
882 : // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc
883 : DEFINE_BOOL(trace_sim, false, "Trace simulator execution")
884 : DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator")
885 : DEFINE_BOOL(check_icache, false,
886 : "Check icache flushes in ARM and MIPS simulator")
887 : DEFINE_INT(stop_sim_at, 0, "Simulator stop after x number of instructions")
888 : #if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) || \
889 : defined(V8_TARGET_ARCH_PPC64)
890 : DEFINE_INT(sim_stack_alignment, 16,
891 : "Stack alignment in bytes in simulator. This must be a power of two "
892 : "and it must be at least 16. 16 is default.")
893 : #else
894 : DEFINE_INT(sim_stack_alignment, 8,
895 : "Stack alingment in bytes in simulator (4 or 8, 8 is default)")
896 : #endif
897 : DEFINE_INT(sim_stack_size, 2 * MB / KB,
898 : "Stack size of the ARM64, MIPS64 and PPC64 simulator "
899 : "in kBytes (default is 2 MB)")
900 : DEFINE_BOOL(log_regs_modified, true,
901 : "When logging register values, only print modified registers.")
902 : DEFINE_BOOL(log_colour, ENABLE_LOG_COLOUR,
903 : "When logging, try to use coloured output.")
904 : DEFINE_BOOL(ignore_asm_unimplemented_break, false,
905 : "Don't break for ASM_UNIMPLEMENTED_BREAK macros.")
906 : DEFINE_BOOL(trace_sim_messages, false,
907 : "Trace simulator debug messages. Implied by --trace-sim.")
908 :
909 : // isolate.cc
910 : DEFINE_BOOL(stack_trace_on_illegal, false,
911 : "print stack trace when an illegal exception is thrown")
912 : DEFINE_BOOL(abort_on_uncaught_exception, false,
913 : "abort program (dump core) when an uncaught exception is thrown")
914 : DEFINE_BOOL(abort_on_stack_or_string_length_overflow, false,
915 : "Abort program when the stack overflows or a string exceeds "
916 : "maximum length (as opposed to throwing RangeError). This is "
917 : "useful for fuzzing where the spec behaviour would introduce "
918 : "nondeterminism.")
919 : DEFINE_BOOL(randomize_hashes, true,
920 : "randomize hashes to avoid predictable hash collisions "
921 : "(with snapshots this option cannot override the baked-in seed)")
922 : DEFINE_BOOL(rehash_snapshot, true,
923 : "rehash strings from the snapshot to override the baked-in seed")
924 : DEFINE_INT(hash_seed, 0,
925 : "Fixed seed to use to hash property keys (0 means random)"
926 : "(with snapshots this option cannot override the baked-in seed)")
927 : DEFINE_INT(random_seed, 0,
928 : "Default seed for initializing random generator "
929 : "(0, the default, means to use system random).")
930 : DEFINE_BOOL(trace_rail, false, "trace RAIL mode")
931 : DEFINE_BOOL(print_all_exceptions, false,
932 : "print exception object and stack trace on each thrown exception")
933 :
934 : // runtime.cc
935 : DEFINE_BOOL(runtime_call_stats, false, "report runtime call counts and times")
936 : DEFINE_INT(runtime_stats, 0,
937 : "internal usage only for controlling runtime statistics")
938 151958 : DEFINE_VALUE_IMPLICATION(runtime_call_stats, runtime_stats, 1)
939 :
940 : // snapshot-common.cc
941 : DEFINE_BOOL(lazy_deserialization, true,
942 : "Deserialize code lazily from the snapshot.")
943 : DEFINE_BOOL(trace_lazy_deserialization, false, "Trace lazy deserialization.")
944 : DEFINE_BOOL(profile_deserialization, false,
945 : "Print the time it takes to deserialize the snapshot.")
946 : DEFINE_BOOL(serialization_statistics, false,
947 : "Collect statistics on serialized objects.")
948 :
949 : // Regexp
950 : DEFINE_BOOL(regexp_optimization, true, "generate optimized regexp code")
951 :
952 : // Testing flags test/cctest/test-{flags,api,serialization}.cc
953 : DEFINE_BOOL(testing_bool_flag, true, "testing_bool_flag")
954 : DEFINE_MAYBE_BOOL(testing_maybe_bool_flag, "testing_maybe_bool_flag")
955 : DEFINE_INT(testing_int_flag, 13, "testing_int_flag")
956 : DEFINE_FLOAT(testing_float_flag, 2.5, "float-flag")
957 : DEFINE_STRING(testing_string_flag, "Hello, world!", "string-flag")
958 : DEFINE_INT(testing_prng_seed, 42, "Seed used for threading test randomness")
959 :
960 : // mksnapshot.cc
961 : DEFINE_STRING(startup_src, nullptr,
962 : "Write V8 startup as C++ src. (mksnapshot only)")
963 : DEFINE_STRING(startup_blob, nullptr,
964 : "Write V8 startup blob file. (mksnapshot only)")
965 :
966 : //
967 : // Dev shell flags
968 : //
969 :
970 : DEFINE_BOOL(help, false, "Print usage message, including flags, on console")
971 : DEFINE_BOOL(dump_counters, false, "Dump counters on exit")
972 : DEFINE_BOOL(dump_counters_nvp, false,
973 : "Dump counters as name-value pairs on exit")
974 : DEFINE_BOOL(use_external_strings, false, "Use external strings for source code")
975 :
976 : DEFINE_STRING(map_counters, "", "Map counters to a file")
977 : DEFINE_ARGS(js_arguments,
978 : "Pass all remaining arguments to the script. Alias for \"--\".")
979 :
980 : //
981 : // GDB JIT integration flags.
982 : //
983 : #undef FLAG
984 : #ifdef ENABLE_GDB_JIT_INTERFACE
985 : #define FLAG FLAG_FULL
986 : #else
987 : #define FLAG FLAG_READONLY
988 : #endif
989 :
990 : DEFINE_BOOL(gdbjit, false, "enable GDBJIT interface")
991 : DEFINE_BOOL(gdbjit_full, false, "enable GDBJIT interface for all code objects")
992 : DEFINE_BOOL(gdbjit_dump, false, "dump elf objects with debug info to disk")
993 : DEFINE_STRING(gdbjit_dump_filter, "",
994 : "dump only objects containing this substring")
995 :
996 : #ifdef ENABLE_GDB_JIT_INTERFACE
997 151958 : DEFINE_IMPLICATION(gdbjit_full, gdbjit)
998 151958 : DEFINE_IMPLICATION(gdbjit_dump, gdbjit)
999 : #endif
1000 151958 : DEFINE_NEG_IMPLICATION(gdbjit, compact_code_space)
1001 :
1002 : //
1003 : // Debug only flags
1004 : //
1005 : #undef FLAG
1006 : #ifdef DEBUG
1007 : #define FLAG FLAG_FULL
1008 : #else
1009 : #define FLAG FLAG_READONLY
1010 : #endif
1011 :
1012 : // checks.cc
1013 : #ifdef ENABLE_SLOW_DCHECKS
1014 : DEFINE_BOOL(enable_slow_asserts, false,
1015 : "enable asserts that are slow to execute")
1016 : #endif
1017 :
1018 : // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc
1019 : DEFINE_BOOL(print_ast, false, "print source AST")
1020 : DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins")
1021 : DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints")
1022 :
1023 : // compiler.cc
1024 : DEFINE_BOOL(print_builtin_scopes, false, "print scopes for builtins")
1025 : DEFINE_BOOL(print_scopes, false, "print scopes")
1026 :
1027 : // contexts.cc
1028 : DEFINE_BOOL(trace_contexts, false, "trace contexts operations")
1029 :
1030 : // heap.cc
1031 : DEFINE_BOOL(gc_verbose, false, "print stuff during garbage collection")
1032 : DEFINE_BOOL(heap_stats, false, "report heap statistics before and after GC")
1033 : DEFINE_BOOL(code_stats, false, "report code statistics after GC")
1034 : DEFINE_BOOL(print_handles, false, "report handles after GC")
1035 : DEFINE_BOOL(check_handle_count, false,
1036 : "Check that there are not too many handles at GC")
1037 : DEFINE_BOOL(print_global_handles, false, "report global handles after GC")
1038 :
1039 : // TurboFan debug-only flags.
1040 : DEFINE_BOOL(trace_turbo_escape, false, "enable tracing in escape analysis")
1041 :
1042 : // objects.cc
1043 : DEFINE_BOOL(trace_module_status, false,
1044 : "Trace status transitions of ECMAScript modules")
1045 : DEFINE_BOOL(trace_normalization, false,
1046 : "prints when objects are turned into dictionaries.")
1047 :
1048 : // runtime.cc
1049 : DEFINE_BOOL(trace_lazy, false, "trace lazy compilation")
1050 :
1051 : // spaces.cc
1052 : DEFINE_BOOL(collect_heap_spill_statistics, false,
1053 : "report heap spill statistics along with heap_stats "
1054 : "(requires heap_stats)")
1055 : DEFINE_BOOL(trace_live_bytes, false,
1056 : "trace incrementing and resetting of live bytes")
1057 : DEFINE_BOOL(trace_isolates, false, "trace isolate state changes")
1058 :
1059 : // Regexp
1060 : DEFINE_BOOL(regexp_possessive_quantifier, false,
1061 : "enable possessive quantifier syntax for testing")
1062 : DEFINE_BOOL(trace_regexp_bytecodes, false, "trace regexp bytecode execution")
1063 : DEFINE_BOOL(trace_regexp_assembler, false,
1064 : "trace regexp macro assembler calls.")
1065 : DEFINE_BOOL(trace_regexp_parser, false, "trace regexp parsing")
1066 :
1067 : // Debugger
1068 : DEFINE_BOOL(print_break_location, false, "print source location on debug break")
1069 :
1070 : // wasm instance management
1071 : DEFINE_BOOL(trace_wasm_instances, false,
1072 : "trace creation and collection of wasm instances")
1073 :
1074 : //
1075 : // Logging and profiling flags
1076 : //
1077 : #undef FLAG
1078 : #define FLAG FLAG_FULL
1079 :
1080 : // log.cc
1081 : DEFINE_BOOL(log, false,
1082 : "Minimal logging (no API, code, GC, suspect, or handles samples).")
1083 : DEFINE_BOOL(log_all, false, "Log all events to the log file.")
1084 : DEFINE_BOOL(log_api, false, "Log API events to the log file.")
1085 : DEFINE_BOOL(log_code, false,
1086 : "Log code events to the log file without profiling.")
1087 : DEFINE_BOOL(log_gc, false,
1088 : "Log heap samples on garbage collection for the hp2ps tool.")
1089 : DEFINE_BOOL(log_handles, false, "Log global handle events.")
1090 : DEFINE_BOOL(log_suspect, false, "Log suspect operations.")
1091 : DEFINE_BOOL(log_source_code, false, "Log source code.")
1092 : DEFINE_BOOL(prof, false,
1093 : "Log statistical profiling information (implies --log-code).")
1094 :
1095 : #if defined(ANDROID)
1096 : // Phones and tablets have processors that are much slower than desktop
1097 : // and laptop computers for which current heuristics are tuned.
1098 : #define DEFAULT_PROF_SAMPLING_INTERVAL 5000
1099 : #else
1100 : #define DEFAULT_PROF_SAMPLING_INTERVAL 1000
1101 : #endif
1102 : DEFINE_INT(prof_sampling_interval, DEFAULT_PROF_SAMPLING_INTERVAL,
1103 : "Interval for --prof samples (in microseconds).")
1104 : #undef DEFAULT_PROF_SAMPLING_INTERVAL
1105 :
1106 : DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.")
1107 151958 : DEFINE_IMPLICATION(prof, prof_cpp)
1108 : DEFINE_BOOL(prof_browser_mode, true,
1109 : "Used with --prof, turns on browser-compatible mode for profiling.")
1110 : DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.")
1111 : DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.")
1112 : DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.")
1113 : DEFINE_BOOL(perf_basic_prof, false,
1114 : "Enable perf linux profiler (basic support).")
1115 151958 : DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space)
1116 : DEFINE_BOOL(perf_basic_prof_only_functions, false,
1117 : "Only report function code ranges to perf (i.e. no stubs).")
1118 151958 : DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof)
1119 : DEFINE_BOOL(perf_prof, false,
1120 : "Enable perf linux profiler (experimental annotate support).")
1121 151958 : DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space)
1122 : DEFINE_BOOL(perf_prof_unwinding_info, false,
1123 : "Enable unwinding info for perf linux profiler (experimental).")
1124 151958 : DEFINE_IMPLICATION(perf_prof, perf_prof_unwinding_info)
1125 : DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__",
1126 : "Specify the name of the file for fake gc mmap used in ll_prof")
1127 : DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.")
1128 : DEFINE_BOOL(log_timer_events, false,
1129 : "Time events including external callbacks.")
1130 151958 : DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events)
1131 151958 : DEFINE_IMPLICATION(log_internal_timer_events, prof)
1132 : DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.")
1133 : DEFINE_STRING(log_instruction_file, "arm64_inst.csv",
1134 : "AArch64 instruction statistics log file.")
1135 : DEFINE_INT(log_instruction_period, 1 << 22,
1136 : "AArch64 instruction statistics logging period.")
1137 :
1138 : DEFINE_BOOL(redirect_code_traces, false,
1139 : "output deopt information and disassembly into file "
1140 : "code-<pid>-<isolate id>.asm")
1141 : DEFINE_STRING(redirect_code_traces_to, nullptr,
1142 : "output deopt information and disassembly into the given file")
1143 :
1144 : DEFINE_BOOL(print_opt_source, false,
1145 : "print source code of optimized and inlined functions")
1146 :
1147 : //
1148 : // Disassembler only flags
1149 : //
1150 : #undef FLAG
1151 : #ifdef ENABLE_DISASSEMBLER
1152 : #define FLAG FLAG_FULL
1153 : #else
1154 : #define FLAG FLAG_READONLY
1155 : #endif
1156 :
1157 : // elements.cc
1158 : DEFINE_BOOL(trace_elements_transitions, false, "trace elements transitions")
1159 :
1160 : DEFINE_BOOL(trace_creation_allocation_sites, false,
1161 : "trace the creation of allocation sites")
1162 :
1163 : // code-stubs.cc
1164 : DEFINE_BOOL(print_code_stubs, false, "print code stubs")
1165 : DEFINE_BOOL(test_secondary_stub_cache, false,
1166 : "test secondary stub cache by disabling the primary one")
1167 :
1168 : DEFINE_BOOL(test_primary_stub_cache, false,
1169 : "test primary stub cache by disabling the secondary one")
1170 :
1171 : DEFINE_BOOL(test_small_max_function_context_stub_size, false,
1172 : "enable testing the function context size overflow path "
1173 : "by making the maximum size smaller")
1174 :
1175 : // codegen-ia32.cc / codegen-arm.cc
1176 : DEFINE_BOOL(print_code, false, "print generated code")
1177 : DEFINE_BOOL(print_opt_code, false, "print optimized code")
1178 : DEFINE_STRING(print_opt_code_filter, "*", "filter for printing optimized code")
1179 : DEFINE_BOOL(print_code_verbose, false, "print more information for code")
1180 : DEFINE_BOOL(print_builtin_code, false, "print generated code for builtins")
1181 : DEFINE_BOOL(print_builtin_size, false, "print code size for builtins")
1182 :
1183 : #ifdef ENABLE_DISASSEMBLER
1184 : DEFINE_BOOL(sodium, false,
1185 : "print generated code output suitable for use with "
1186 : "the Sodium code viewer")
1187 :
1188 : DEFINE_IMPLICATION(sodium, print_code_stubs)
1189 : DEFINE_IMPLICATION(sodium, print_code)
1190 : DEFINE_IMPLICATION(sodium, print_opt_code)
1191 : DEFINE_IMPLICATION(sodium, code_comments)
1192 :
1193 : DEFINE_BOOL(print_all_code, false, "enable all flags related to printing code")
1194 : DEFINE_IMPLICATION(print_all_code, print_code)
1195 : DEFINE_IMPLICATION(print_all_code, print_opt_code)
1196 : DEFINE_IMPLICATION(print_all_code, print_code_verbose)
1197 : DEFINE_IMPLICATION(print_all_code, print_builtin_code)
1198 : DEFINE_IMPLICATION(print_all_code, print_code_stubs)
1199 : DEFINE_IMPLICATION(print_all_code, code_comments)
1200 : #ifdef DEBUG
1201 : DEFINE_IMPLICATION(print_all_code, trace_codegen)
1202 : #endif
1203 : #endif
1204 :
1205 : #undef FLAG
1206 : #define FLAG FLAG_FULL
1207 :
1208 : //
1209 : // Predictable mode related flags.
1210 : //
1211 :
1212 : DEFINE_BOOL(predictable, false, "enable predictable mode")
1213 151958 : DEFINE_IMPLICATION(predictable, single_threaded)
1214 151958 : DEFINE_NEG_IMPLICATION(predictable, memory_reducer)
1215 151958 : DEFINE_VALUE_IMPLICATION(single_threaded, wasm_num_compilation_tasks, 0)
1216 :
1217 : //
1218 : // Threading related flags.
1219 : //
1220 :
1221 : DEFINE_BOOL(single_threaded, false, "disable the use of background tasks")
1222 151958 : DEFINE_IMPLICATION(single_threaded, single_threaded_gc)
1223 151958 : DEFINE_NEG_IMPLICATION(single_threaded, concurrent_recompilation)
1224 151958 : DEFINE_NEG_IMPLICATION(single_threaded, compiler_dispatcher)
1225 :
1226 : //
1227 : // Parallel and concurrent GC (Orinoco) related flags.
1228 : //
1229 : DEFINE_BOOL(single_threaded_gc, false, "disable the use of background gc tasks")
1230 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, concurrent_marking)
1231 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, concurrent_sweeping)
1232 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_compaction)
1233 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_pointer_update)
1234 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, parallel_scavenge)
1235 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, concurrent_store_buffer)
1236 151958 : DEFINE_NEG_IMPLICATION(single_threaded_gc, minor_mc_parallel_marking)
1237 :
1238 : #undef FLAG
1239 :
1240 : #ifdef VERIFY_PREDICTABLE
1241 : #define FLAG FLAG_FULL
1242 : #else
1243 : #define FLAG FLAG_READONLY
1244 : #endif
1245 :
1246 : DEFINE_BOOL(verify_predictable, false,
1247 : "this mode is used for checking that V8 behaves predictably")
1248 : DEFINE_INT(dump_allocations_digest_at_alloc, -1,
1249 : "dump allocations digest each n-th allocation")
1250 :
1251 : //
1252 : // Read-only flags
1253 : //
1254 : #undef FLAG
1255 : #define FLAG FLAG_READONLY
1256 :
1257 : // assembler.h
1258 : DEFINE_BOOL(enable_embedded_constant_pool, V8_EMBEDDED_CONSTANT_POOL,
1259 : "enable use of embedded constant pools (PPC only)")
1260 :
1261 : DEFINE_BOOL(unbox_double_fields, V8_DOUBLE_FIELDS_UNBOXING,
1262 : "enable in-object double fields unboxing (64-bit only)")
1263 151958 : DEFINE_IMPLICATION(unbox_double_fields, track_double_fields)
1264 :
1265 : // Cleanup...
1266 : #undef FLAG_FULL
1267 : #undef FLAG_READONLY
1268 : #undef FLAG
1269 : #undef FLAG_ALIAS
1270 :
1271 : #undef DEFINE_BOOL
1272 : #undef DEFINE_MAYBE_BOOL
1273 : #undef DEFINE_INT
1274 : #undef DEFINE_STRING
1275 : #undef DEFINE_FLOAT
1276 : #undef DEFINE_ARGS
1277 : #undef DEFINE_IMPLICATION
1278 : #undef DEFINE_NEG_IMPLICATION
1279 : #undef DEFINE_NEG_VALUE_IMPLICATION
1280 : #undef DEFINE_VALUE_IMPLICATION
1281 : #undef DEFINE_ALIAS_BOOL
1282 : #undef DEFINE_ALIAS_INT
1283 : #undef DEFINE_ALIAS_STRING
1284 : #undef DEFINE_ALIAS_FLOAT
1285 : #undef DEFINE_ALIAS_ARGS
1286 :
1287 : #undef FLAG_MODE_DECLARE
1288 : #undef FLAG_MODE_DEFINE
1289 : #undef FLAG_MODE_DEFINE_DEFAULTS
1290 : #undef FLAG_MODE_META
1291 : #undef FLAG_MODE_DEFINE_IMPLICATIONS
1292 :
1293 : #undef COMMA
|