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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 "enable asserts that are slow to execute") | 266 "enable asserts that are slow to execute") |
267 | 267 |
268 // codegen-ia32.cc / codegen-arm.cc | 268 // codegen-ia32.cc / codegen-arm.cc |
269 DEFINE_bool(trace_codegen, false, | 269 DEFINE_bool(trace_codegen, false, |
270 "print name of functions for which code is generated") | 270 "print name of functions for which code is generated") |
271 DEFINE_bool(print_source, false, "pretty print source code") | 271 DEFINE_bool(print_source, false, "pretty print source code") |
272 DEFINE_bool(print_builtin_source, false, | 272 DEFINE_bool(print_builtin_source, false, |
273 "pretty print source code for builtins") | 273 "pretty print source code for builtins") |
274 DEFINE_bool(print_ast, false, "print source AST") | 274 DEFINE_bool(print_ast, false, "print source AST") |
275 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") | 275 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") |
| 276 DEFINE_bool(print_json_ast, false, "print source AST as JSON") |
| 277 DEFINE_bool(print_builtin_json_ast, false, |
| 278 "print source AST for builtins as JSON") |
276 DEFINE_bool(trace_calls, false, "trace calls") | 279 DEFINE_bool(trace_calls, false, "trace calls") |
277 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") | 280 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") |
278 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") | 281 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") |
279 | 282 |
280 // compiler.cc | 283 // compiler.cc |
281 DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins") | 284 DEFINE_bool(print_builtin_scopes, false, "print scopes for builtins") |
282 DEFINE_bool(print_scopes, false, "print scopes") | 285 DEFINE_bool(print_scopes, false, "print scopes") |
283 | 286 |
284 // contexts.cc | 287 // contexts.cc |
285 DEFINE_bool(trace_contexts, false, "trace contexts operations") | 288 DEFINE_bool(trace_contexts, false, "trace contexts operations") |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 #undef FLAG | 397 #undef FLAG |
395 | 398 |
396 #undef DEFINE_bool | 399 #undef DEFINE_bool |
397 #undef DEFINE_int | 400 #undef DEFINE_int |
398 #undef DEFINE_string | 401 #undef DEFINE_string |
399 | 402 |
400 #undef FLAG_MODE_DECLARE | 403 #undef FLAG_MODE_DECLARE |
401 #undef FLAG_MODE_DEFINE | 404 #undef FLAG_MODE_DEFINE |
402 #undef FLAG_MODE_DEFINE_DEFAULTS | 405 #undef FLAG_MODE_DEFINE_DEFAULTS |
403 #undef FLAG_MODE_META | 406 #undef FLAG_MODE_META |
OLD | NEW |