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

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

Issue 9362014: Remove 6 unused flags. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/heap.cc » ('j') | src/hydrogen.cc » ('J')
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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 "Optimize object size, Array shift, DOM strings and string +") 126 "Optimize object size, Array shift, DOM strings and string +")
127 127
128 // Flags for data representation optimizations 128 // Flags for data representation optimizations
129 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles") 129 DEFINE_bool(unbox_double_arrays, true, "automatically unbox arrays of doubles")
130 DEFINE_bool(string_slices, true, "use string slices") 130 DEFINE_bool(string_slices, true, "use string slices")
131 131
132 // Flags for Crankshaft. 132 // Flags for Crankshaft.
133 DEFINE_bool(crankshaft, true, "use crankshaft") 133 DEFINE_bool(crankshaft, true, "use crankshaft")
134 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter") 134 DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter")
135 DEFINE_bool(use_range, true, "use hydrogen range analysis") 135 DEFINE_bool(use_range, true, "use hydrogen range analysis")
136 DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis")
137 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering") 136 DEFINE_bool(use_gvn, true, "use hydrogen global value numbering")
138 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 137 DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
139 DEFINE_bool(use_inlining, true, "use function inlining") 138 DEFINE_bool(use_inlining, true, "use function inlining")
140 DEFINE_bool(limit_inlining, true, "limit code size growth from inlining") 139 DEFINE_bool(limit_inlining, true, "limit code size growth from inlining")
141 DEFINE_bool(eliminate_empty_blocks, true, "eliminate empty blocks")
142 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion") 140 DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion")
143 DEFINE_bool(collect_megamorphic_maps_from_stub_cache, 141 DEFINE_bool(collect_megamorphic_maps_from_stub_cache,
144 true, 142 true,
145 "crankshaft harvests type feedback from stub cache") 143 "crankshaft harvests type feedback from stub cache")
146 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen") 144 DEFINE_bool(hydrogen_stats, false, "print statistics for hydrogen")
147 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file") 145 DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file")
148 DEFINE_bool(trace_inlining, false, "trace inlining decisions") 146 DEFINE_bool(trace_inlining, false, "trace inlining decisions")
149 DEFINE_bool(trace_alloc, false, "trace register allocator") 147 DEFINE_bool(trace_alloc, false, "trace register allocator")
150 DEFINE_bool(trace_all_uses, false, "trace all use positions") 148 DEFINE_bool(trace_all_uses, false, "trace all use positions")
151 DEFINE_bool(trace_range, false, "trace range analysis") 149 DEFINE_bool(trace_range, false, "trace range analysis")
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 #endif 292 #endif
295 293
296 // macro-assembler-ia32.cc 294 // macro-assembler-ia32.cc
297 DEFINE_bool(native_code_counters, false, 295 DEFINE_bool(native_code_counters, false,
298 "generate extra code for manipulating stats counters") 296 "generate extra code for manipulating stats counters")
299 297
300 // mark-compact.cc 298 // mark-compact.cc
301 DEFINE_bool(always_compact, false, "Perform compaction on every full GC") 299 DEFINE_bool(always_compact, false, "Perform compaction on every full GC")
302 DEFINE_bool(lazy_sweeping, true, 300 DEFINE_bool(lazy_sweeping, true,
303 "Use lazy sweeping for old pointer and data spaces") 301 "Use lazy sweeping for old pointer and data spaces")
304 DEFINE_bool(cleanup_caches_in_maps_at_gc, true,
305 "Flush code caches in maps during mark compact cycle.")
306 DEFINE_bool(never_compact, false, 302 DEFINE_bool(never_compact, false,
307 "Never perform compaction on full GC - testing only") 303 "Never perform compaction on full GC - testing only")
308 DEFINE_bool(compact_code_space, false, 304 DEFINE_bool(compact_code_space, false,
309 "Compact code space on full non-incremental collections") 305 "Compact code space on full non-incremental collections")
310 DEFINE_bool(cleanup_code_caches_at_gc, true, 306 DEFINE_bool(cleanup_code_caches_at_gc, true,
311 "Flush inline caches prior to mark compact collection and " 307 "Flush inline caches prior to mark compact collection and "
312 "flush code caches in maps during mark compact cycle.") 308 "flush code caches in maps during mark compact cycle.")
313 DEFINE_int(random_seed, 0, 309 DEFINE_int(random_seed, 0,
314 "Default seed for initializing random generator " 310 "Default seed for initializing random generator "
315 "(0, the default, means to use system random).") 311 "(0, the default, means to use system random).")
316 312
317 DEFINE_bool(canonicalize_object_literal_maps, true,
318 "Canonicalize maps for object literals.")
319
320 DEFINE_int(max_map_space_pages, MapSpace::kMaxMapPageIndex - 1,
321 "Maximum number of pages in map space which still allows to encode "
322 "forwarding pointers. That's actually a constant, but it's useful "
323 "to control it with a flag for better testing.")
324
325 // objects.cc 313 // objects.cc
326 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") 314 DEFINE_bool(use_verbose_printer, true, "allows verbose printing")
327 315
328 // parser.cc 316 // parser.cc
329 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") 317 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax")
330 318
331 // simulator-arm.cc and simulator-mips.cc 319 // simulator-arm.cc and simulator-mips.cc
332 DEFINE_bool(trace_sim, false, "Trace simulator execution") 320 DEFINE_bool(trace_sim, false, "Trace simulator execution")
333 DEFINE_bool(check_icache, false, 321 DEFINE_bool(check_icache, false,
334 "Check icache flushes in ARM and MIPS simulator") 322 "Check icache flushes in ARM and MIPS simulator")
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") 452 DEFINE_bool(trace_ic, false, "trace inline cache state transitions")
465 453
466 // objects.cc 454 // objects.cc
467 DEFINE_bool(trace_normalization, 455 DEFINE_bool(trace_normalization,
468 false, 456 false,
469 "prints when objects are turned into dictionaries.") 457 "prints when objects are turned into dictionaries.")
470 458
471 // runtime.cc 459 // runtime.cc
472 DEFINE_bool(trace_lazy, false, "trace lazy compilation") 460 DEFINE_bool(trace_lazy, false, "trace lazy compilation")
473 461
474 // serialize.cc
475 DEFINE_bool(debug_serialization, false,
476 "write debug information into the snapshot.")
477
478 // spaces.cc 462 // spaces.cc
479 DEFINE_bool(collect_heap_spill_statistics, false, 463 DEFINE_bool(collect_heap_spill_statistics, false,
480 "report heap spill statistics along with heap_stats " 464 "report heap spill statistics along with heap_stats "
481 "(requires heap_stats)") 465 "(requires heap_stats)")
482 466
483 DEFINE_bool(trace_isolates, false, "trace isolate state changes") 467 DEFINE_bool(trace_isolates, false, "trace isolate state changes")
484 468
485 // VM state 469 // VM state
486 DEFINE_bool(log_state_changes, false, "Log state changes.") 470 DEFINE_bool(log_state_changes, false, "Log state changes.")
487 471
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 #undef DEFINE_bool 559 #undef DEFINE_bool
576 #undef DEFINE_int 560 #undef DEFINE_int
577 #undef DEFINE_string 561 #undef DEFINE_string
578 #undef DEFINE_implication 562 #undef DEFINE_implication
579 563
580 #undef FLAG_MODE_DECLARE 564 #undef FLAG_MODE_DECLARE
581 #undef FLAG_MODE_DEFINE 565 #undef FLAG_MODE_DEFINE
582 #undef FLAG_MODE_DEFINE_DEFAULTS 566 #undef FLAG_MODE_DEFINE_DEFAULTS
583 #undef FLAG_MODE_META 567 #undef FLAG_MODE_META
584 #undef FLAG_MODE_DEFINE_IMPLICATIONS 568 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | src/hydrogen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698