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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 DEFINE_bool(always_fast_compiler, false, | 152 DEFINE_bool(always_fast_compiler, false, |
153 "try to use the speculative optimizing backend for all code") | 153 "try to use the speculative optimizing backend for all code") |
154 DEFINE_bool(trace_bailout, false, | 154 DEFINE_bool(trace_bailout, false, |
155 "print reasons for falling back to using the classic V8 backend") | 155 "print reasons for falling back to using the classic V8 backend") |
| 156 DEFINE_bool(use_flow_graph, false, "perform flow-graph based optimizations") |
156 | 157 |
157 // compilation-cache.cc | 158 // compilation-cache.cc |
158 DEFINE_bool(compilation_cache, true, "enable compilation cache") | 159 DEFINE_bool(compilation_cache, true, "enable compilation cache") |
159 | 160 |
160 // debug.cc | 161 // debug.cc |
161 DEFINE_bool(remote_debugging, false, "enable remote debugging") | 162 DEFINE_bool(remote_debugging, false, "enable remote debugging") |
162 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") | 163 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") |
163 DEFINE_bool(debugger_auto_break, true, | 164 DEFINE_bool(debugger_auto_break, true, |
164 "automatically set the debug break flag when debugger commands are " | 165 "automatically set the debug break flag when debugger commands are " |
165 "in the queue") | 166 "in the queue") |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 DEFINE_bool(print_builtin_json_ast, false, | 298 DEFINE_bool(print_builtin_json_ast, false, |
298 "print source AST for builtins as JSON") | 299 "print source AST for builtins as JSON") |
299 DEFINE_bool(trace_calls, false, "trace calls") | 300 DEFINE_bool(trace_calls, false, "trace calls") |
300 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") | 301 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") |
301 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") | 302 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") |
302 | 303 |
303 // compiler.cc | 304 // compiler.cc |
304 DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins") | 305 DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins") |
305 DEFINE_bool(print_scopes, false, "print scopes") | 306 DEFINE_bool(print_scopes, false, "print scopes") |
306 DEFINE_bool(print_ir, false, "print the AST as seen by the backend") | 307 DEFINE_bool(print_ir, false, "print the AST as seen by the backend") |
| 308 DEFINE_bool(print_graph_text, false, |
| 309 "print a text representation of the flow graph") |
307 | 310 |
308 // contexts.cc | 311 // contexts.cc |
309 DEFINE_bool(trace_contexts, false, "trace contexts operations") | 312 DEFINE_bool(trace_contexts, false, "trace contexts operations") |
310 | 313 |
311 // heap.cc | 314 // heap.cc |
312 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") | 315 DEFINE_bool(gc_greedy, false, "perform GC prior to some allocations") |
313 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") | 316 DEFINE_bool(gc_verbose, false, "print stuff during garbage collection") |
314 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") | 317 DEFINE_bool(heap_stats, false, "report heap statistics before and after GC") |
315 DEFINE_bool(code_stats, false, "report code statistics after GC") | 318 DEFINE_bool(code_stats, false, "report code statistics after GC") |
316 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") | 319 DEFINE_bool(verify_heap, false, "verify heap pointers before and after GC") |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 #undef FLAG | 427 #undef FLAG |
425 | 428 |
426 #undef DEFINE_bool | 429 #undef DEFINE_bool |
427 #undef DEFINE_int | 430 #undef DEFINE_int |
428 #undef DEFINE_string | 431 #undef DEFINE_string |
429 | 432 |
430 #undef FLAG_MODE_DECLARE | 433 #undef FLAG_MODE_DECLARE |
431 #undef FLAG_MODE_DEFINE | 434 #undef FLAG_MODE_DEFINE |
432 #undef FLAG_MODE_DEFINE_DEFAULTS | 435 #undef FLAG_MODE_DEFINE_DEFAULTS |
433 #undef FLAG_MODE_META | 436 #undef FLAG_MODE_META |
OLD | NEW |