OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 DEFINE_bool(debug_info, true, "add debug information to compiled functions") | 142 DEFINE_bool(debug_info, true, "add debug information to compiled functions") |
143 | 143 |
144 // compiler.cc | 144 // compiler.cc |
145 DEFINE_bool(strict, false, "strict error checking") | 145 DEFINE_bool(strict, false, "strict error checking") |
146 DEFINE_int(min_preparse_length, 1024, | 146 DEFINE_int(min_preparse_length, 1024, |
147 "minimum length for automatic enable preparsing") | 147 "minimum length for automatic enable preparsing") |
148 DEFINE_bool(full_compiler, true, "enable dedicated backend for run-once code") | 148 DEFINE_bool(full_compiler, true, "enable dedicated backend for run-once code") |
149 DEFINE_bool(fast_compiler, false, "enable speculative optimizing backend") | 149 DEFINE_bool(fast_compiler, false, "enable speculative optimizing backend") |
150 DEFINE_bool(always_full_compiler, false, | 150 DEFINE_bool(always_full_compiler, false, |
151 "try to use the dedicated run-once backend for all code") | 151 "try to use the dedicated run-once backend for all code") |
152 #if defined(V8_TARGET_ARCH_IA32) || defined(V8_TARGET_ARCH_X64) | 152 #ifdef V8_TARGET_ARCH_IA32 |
153 DEFINE_bool(force_full_compiler, false, | 153 DEFINE_bool(force_full_compiler, false, |
154 "force use of the dedicated run-once backend for all code") | 154 "force use of the dedicated run-once backend for all code") |
155 #endif | 155 #endif |
156 DEFINE_bool(always_fast_compiler, false, | 156 DEFINE_bool(always_fast_compiler, false, |
157 "try to use the speculative optimizing backend for all code") | 157 "try to use the speculative optimizing backend for all code") |
158 DEFINE_bool(trace_bailout, false, | 158 DEFINE_bool(trace_bailout, false, |
159 "print reasons for falling back to using the classic V8 backend") | 159 "print reasons for falling back to using the classic V8 backend") |
160 DEFINE_bool(safe_int32_compiler, true, | 160 DEFINE_bool(safe_int32_compiler, true, |
161 "enable optimized side-effect-free int32 expressions.") | 161 "enable optimized side-effect-free int32 expressions.") |
162 DEFINE_bool(use_flow_graph, false, "perform flow-graph based optimizations") | 162 DEFINE_bool(use_flow_graph, false, "perform flow-graph based optimizations") |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 DEFINE_bool(trace_contexts, false, "trace contexts operations") | 330 DEFINE_bool(trace_contexts, false, "trace contexts operations") |
331 | 331 |
332 // heap.cc | 332 // heap.cc |
333 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") | 333 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") |
334 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 334 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
335 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 335 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
336 DEFINE_bool(code_stats, false, "report code statistics after GC") | 336 DEFINE_bool(code_stats, false, "report code statistics after GC") |
337 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 337 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
338 DEFINE_bool(print_handles, false, "report handles after GC") | 338 DEFINE_bool(print_handles, false, "report handles after GC") |
339 DEFINE_bool(print_global_handles, false, "report global handles after GC") | 339 DEFINE_bool(print_global_handles, false, "report global handles after GC") |
| 340 DEFINE_bool(print_rset, false, "print remembered sets before GC") |
340 | 341 |
341 // ic.cc | 342 // ic.cc |
342 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") | 343 DEFINE_bool(trace_ic, false, "trace inline cache state transitions") |
343 | 344 |
344 // objects.cc | 345 // objects.cc |
345 DEFINE_bool(trace_normalization, | 346 DEFINE_bool(trace_normalization, |
346 false, | 347 false, |
347 "prints when objects are turned into dictionaries.") | 348 "prints when objects are turned into dictionaries.") |
348 | 349 |
349 // runtime.cc | 350 // runtime.cc |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
446 #undef FLAG | 447 #undef FLAG |
447 | 448 |
448 #undef DEFINE_bool | 449 #undef DEFINE_bool |
449 #undef DEFINE_int | 450 #undef DEFINE_int |
450 #undef DEFINE_string | 451 #undef DEFINE_string |
451 | 452 |
452 #undef FLAG_MODE_DECLARE | 453 #undef FLAG_MODE_DECLARE |
453 #undef FLAG_MODE_DEFINE | 454 #undef FLAG_MODE_DEFINE |
454 #undef FLAG_MODE_DEFINE_DEFAULTS | 455 #undef FLAG_MODE_DEFINE_DEFAULTS |
455 #undef FLAG_MODE_META | 456 #undef FLAG_MODE_META |
OLD | NEW |