@@ -337,11 +337,6 @@ DEFINE_STRING(trace_ignition_dispatches_output_file, nullptr,
337337
338338// Flags for Crankshaft.
339339DEFINE_STRING (hydrogen_filter, " *" , " optimization filter" )
340- DEFINE_BOOL (use_gvn, true , " use hydrogen global value numbering" )
341- DEFINE_INT (gvn_iterations, 3 , " maximum number of GVN fix-point iterations" )
342- DEFINE_BOOL (use_canonicalizing, true , " use hydrogen instruction canonicalizing" )
343- DEFINE_BOOL (use_inlining, true , " use function inlining" )
344- DEFINE_BOOL (use_escape_analysis, true , " use hydrogen escape analysis" )
345340DEFINE_BOOL (use_allocation_folding, true , " use allocation folding" )
346341DEFINE_BOOL (use_local_allocation_folding, false , " only fold in basic blocks" )
347342DEFINE_BOOL (use_write_barrier_elimination, true ,
@@ -359,71 +354,42 @@ DEFINE_INT(max_inlined_nodes_cumulative, 400,
359354DEFINE_INT (max_inlined_nodes_small, 10 ,
360355 " maximum number of AST nodes considered for small function inlining" )
361356DEFINE_FLOAT (min_inlining_frequency, 0.15 , " minimum frequency for inlining" )
362- DEFINE_BOOL (loop_invariant_code_motion, true , " loop invariant code motion" )
363357DEFINE_BOOL (fast_math, true , " faster (but maybe less accurate) math functions" )
364- DEFINE_BOOL (hydrogen_stats, false , " print statistics for hydrogen" )
365- DEFINE_BOOL (trace_check_elimination, false , " trace check elimination phase" )
366358DEFINE_BOOL (trace_environment_liveness, false ,
367359 " trace liveness of local variable slots" )
368360DEFINE_BOOL (trace_hydrogen, false , " trace generated hydrogen to file" )
369361DEFINE_STRING (trace_hydrogen_filter, " *" , " hydrogen tracing filter" )
370362DEFINE_BOOL (trace_hydrogen_stubs, false , " trace generated hydrogen for stubs" )
371363DEFINE_STRING (trace_hydrogen_file, NULL , " trace hydrogen to given file name" )
372364DEFINE_STRING (trace_phase, " HLZ" , " trace generated IR for specified phases" )
373- DEFINE_BOOL (trace_inlining, false , " trace inlining decisions" )
374- DEFINE_BOOL (trace_load_elimination, false , " trace load elimination" )
375365DEFINE_BOOL (trace_store_elimination, false , " trace store elimination" )
376366DEFINE_BOOL (turbo_verify_store_elimination, false ,
377367 " verify store elimination more rigorously" )
378368DEFINE_BOOL (trace_alloc, false , " trace register allocator" )
379369DEFINE_BOOL (trace_all_uses, false , " trace all use positions" )
380- DEFINE_BOOL (trace_range, false , " trace range analysis" )
381- DEFINE_BOOL (trace_gvn, false , " trace global value numbering" )
382370DEFINE_BOOL (trace_representation, false , " trace representation types" )
383- DEFINE_BOOL (trace_removable_simulates, false , " trace removable simulates" )
384- DEFINE_BOOL (trace_escape_analysis, false , " trace hydrogen escape analysis" )
385- DEFINE_BOOL (trace_allocation_folding, false , " trace allocation folding" )
386371DEFINE_BOOL (trace_track_allocation_sites, false ,
387372 " trace the tracking of allocation sites" )
388373DEFINE_BOOL (trace_migration, false , " trace object migration" )
389374DEFINE_BOOL (trace_generalization, false , " trace map generalization" )
390375DEFINE_BOOL (stress_pointer_maps, false , " pointer map for every instruction" )
391- DEFINE_BOOL (stress_environments, false , " environment for every instruction" )
392376DEFINE_INT (deopt_every_n_times, 0 ,
393377 " deoptimize every n times a deopt point is passed" )
394378DEFINE_BOOL (print_deopt_stress, false , " print number of possible deopt points" )
395379DEFINE_BOOL (trap_on_deopt, false , " put a break point before deoptimizing" )
396380DEFINE_BOOL (trap_on_stub_deopt, false ,
397381 " put a break point before deoptimizing a stub" )
398- DEFINE_BOOL (deoptimize_uncommon_cases, true , " deoptimize uncommon cases" )
399382DEFINE_BOOL (polymorphic_inlining, true , " polymorphic inlining" )
400383DEFINE_BOOL (use_osr, true , " use on-stack replacement" )
401- DEFINE_BOOL (array_bounds_checks_elimination, true ,
402- " perform array bounds checks elimination" )
403- DEFINE_BOOL (trace_bce, false , " trace array bounds check elimination" )
404- DEFINE_BOOL (array_index_dehoisting, true , " perform array index dehoisting" )
405384DEFINE_BOOL (analyze_environment_liveness, true ,
406385 " analyze liveness of environment slots and zap dead values" )
407386DEFINE_BOOL (load_elimination, true , " use load elimination" )
408387DEFINE_BOOL (check_elimination, true , " use check elimination" )
409388DEFINE_BOOL (store_elimination, false , " use store elimination" )
410- DEFINE_BOOL (dead_code_elimination, true , " use dead code elimination" )
411- DEFINE_BOOL (fold_constants, true , " use constant folding" )
412- DEFINE_BOOL (trace_dead_code_elimination, false , " trace dead code elimination" )
413- DEFINE_BOOL (unreachable_code_elimination, true , " eliminate unreachable code" )
414389DEFINE_BOOL (trace_osr, false , " trace on-stack replacement" )
415390DEFINE_INT (stress_runs, 0 , " number of stress runs" )
416- DEFINE_BOOL (lookup_sample_by_shared, true ,
417- " when picking a function to optimize, watch for shared function "
418- " info, not JSFunction itself" )
419- DEFINE_BOOL (flush_optimized_code_cache, false ,
420- " flushes the cache of optimized code for closures on every GC" )
421- DEFINE_BOOL (inline_construct, true , " inline constructor calls" )
422- DEFINE_BOOL (inline_arguments, true , " inline functions with arguments object" )
423391DEFINE_BOOL (inline_accessors, true , " inline JavaScript accessors" )
424392DEFINE_BOOL (inline_into_try, true , " inline into try blocks" )
425- DEFINE_INT (escape_analysis_iterations, 1 ,
426- " maximum number of escape analysis fix-point iterations" )
427393
428394DEFINE_BOOL (concurrent_recompilation, true ,
429395 " optimizing hot functions asynchronously on a separate thread" )
@@ -1027,10 +993,6 @@ DEFINE_STRING(startup_src, NULL,
1027993DEFINE_STRING (startup_blob, NULL ,
1028994 " Write V8 startup blob file. (mksnapshot only)" )
1029995
1030- // code-stubs-hydrogen.cc
1031- DEFINE_BOOL (profile_hydrogen_code_stub_compilation, false ,
1032- " Print the time it takes to lazily compile hydrogen code stubs." )
1033-
1034996//
1035997// Dev shell flags
1036998//
0 commit comments