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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 #ifdef DEBUG | 239 #ifdef DEBUG |
240 #define FLAG FLAG_FULL | 240 #define FLAG FLAG_FULL |
241 #else | 241 #else |
242 #define FLAG FLAG_READONLY | 242 #define FLAG FLAG_READONLY |
243 #endif | 243 #endif |
244 | 244 |
245 // checks.cc | 245 // checks.cc |
246 DEFINE_bool(enable_slow_asserts, false, | 246 DEFINE_bool(enable_slow_asserts, false, |
247 "enable asserts that are slow to execute") | 247 "enable asserts that are slow to execute") |
248 | 248 |
249 // code-stubs.cc | |
250 DEFINE_bool(print_code_stubs, false, "print code stubs") | |
251 | |
252 // codegen-ia32.cc / codegen-arm.cc | 249 // codegen-ia32.cc / codegen-arm.cc |
253 DEFINE_bool(trace_codegen, false, | 250 DEFINE_bool(trace_codegen, false, |
254 "print name of functions for which code is generated") | 251 "print name of functions for which code is generated") |
255 DEFINE_bool(print_source, false, "pretty print source code") | 252 DEFINE_bool(print_source, false, "pretty print source code") |
256 DEFINE_bool(print_builtin_source, false, | 253 DEFINE_bool(print_builtin_source, false, |
257 "pretty print source code for builtins") | 254 "pretty print source code for builtins") |
258 DEFINE_bool(print_ast, false, "print source AST") | 255 DEFINE_bool(print_ast, false, "print source AST") |
259 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") | 256 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") |
260 DEFINE_bool(trace_calls, false, "trace calls") | 257 DEFINE_bool(trace_calls, false, "trace calls") |
261 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") | 258 DEFINE_bool(trace_builtin_calls, false, "trace builtins calls") |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 // | 336 // |
340 // Disassembler only flags | 337 // Disassembler only flags |
341 // | 338 // |
342 #undef FLAG | 339 #undef FLAG |
343 #ifdef ENABLE_DISASSEMBLER | 340 #ifdef ENABLE_DISASSEMBLER |
344 #define FLAG FLAG_FULL | 341 #define FLAG FLAG_FULL |
345 #else | 342 #else |
346 #define FLAG FLAG_READONLY | 343 #define FLAG FLAG_READONLY |
347 #endif | 344 #endif |
348 | 345 |
| 346 // code-stubs.cc |
| 347 DEFINE_bool(print_code_stubs, false, "print code stubs") |
| 348 |
349 // codegen-ia32.cc / codegen-arm.cc | 349 // codegen-ia32.cc / codegen-arm.cc |
350 DEFINE_bool(print_code, false, "print generated code") | 350 DEFINE_bool(print_code, false, "print generated code") |
351 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") | 351 DEFINE_bool(print_builtin_code, false, "print generated code for builtins") |
352 | 352 |
353 // Cleanup... | 353 // Cleanup... |
354 #undef FLAG_FULL | 354 #undef FLAG_FULL |
355 #undef FLAG_READONLY | 355 #undef FLAG_READONLY |
356 #undef FLAG | 356 #undef FLAG |
357 | 357 |
358 #undef DEFINE_bool | 358 #undef DEFINE_bool |
359 #undef DEFINE_int | 359 #undef DEFINE_int |
360 #undef DEFINE_string | 360 #undef DEFINE_string |
361 | 361 |
362 #undef FLAG_MODE_DECLARE | 362 #undef FLAG_MODE_DECLARE |
363 #undef FLAG_MODE_DEFINE | 363 #undef FLAG_MODE_DEFINE |
364 #undef FLAG_MODE_DEFINE_DEFAULTS | 364 #undef FLAG_MODE_DEFINE_DEFAULTS |
365 #undef FLAG_MODE_META | 365 #undef FLAG_MODE_META |
OLD | NEW |