OLD | NEW |
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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 // Debug only flags | 689 // Debug only flags |
690 // | 690 // |
691 #undef FLAG | 691 #undef FLAG |
692 #ifdef DEBUG | 692 #ifdef DEBUG |
693 #define FLAG FLAG_FULL | 693 #define FLAG FLAG_FULL |
694 #else | 694 #else |
695 #define FLAG FLAG_READONLY | 695 #define FLAG FLAG_READONLY |
696 #endif | 696 #endif |
697 | 697 |
698 // checks.cc | 698 // checks.cc |
| 699 #if !defined(OPTIMIZED_DEBUG) |
699 DEFINE_bool(enable_slow_asserts, false, | 700 DEFINE_bool(enable_slow_asserts, false, |
700 "enable asserts that are slow to execute") | 701 "enable asserts that are slow to execute") |
| 702 #endif |
701 | 703 |
702 // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc | 704 // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc |
703 DEFINE_bool(print_source, false, "pretty print source code") | 705 DEFINE_bool(print_source, false, "pretty print source code") |
704 DEFINE_bool(print_builtin_source, false, | 706 DEFINE_bool(print_builtin_source, false, |
705 "pretty print source code for builtins") | 707 "pretty print source code for builtins") |
706 DEFINE_bool(print_ast, false, "print source AST") | 708 DEFINE_bool(print_ast, false, "print source AST") |
707 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") | 709 DEFINE_bool(print_builtin_ast, false, "print source AST for builtins") |
708 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") | 710 DEFINE_string(stop_at, "", "function name where to insert a breakpoint") |
709 DEFINE_bool(trap_on_abort, false, "replace aborts by breakpoints") | 711 DEFINE_bool(trap_on_abort, false, "replace aborts by breakpoints") |
710 | 712 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 #undef DEFINE_ALIAS_float | 879 #undef DEFINE_ALIAS_float |
878 #undef DEFINE_ALIAS_args | 880 #undef DEFINE_ALIAS_args |
879 | 881 |
880 #undef FLAG_MODE_DECLARE | 882 #undef FLAG_MODE_DECLARE |
881 #undef FLAG_MODE_DEFINE | 883 #undef FLAG_MODE_DEFINE |
882 #undef FLAG_MODE_DEFINE_DEFAULTS | 884 #undef FLAG_MODE_DEFINE_DEFAULTS |
883 #undef FLAG_MODE_META | 885 #undef FLAG_MODE_META |
884 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 886 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
885 | 887 |
886 #undef COMMA | 888 #undef COMMA |
OLD | NEW |