OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 | 799 |
800 DEFINE_BOOL(redirect_code_traces, false, | 800 DEFINE_BOOL(redirect_code_traces, false, |
801 "output deopt information and disassembly into file " | 801 "output deopt information and disassembly into file " |
802 "code-<pid>-<isolate id>.asm") | 802 "code-<pid>-<isolate id>.asm") |
803 DEFINE_STRING(redirect_code_traces_to, NULL, | 803 DEFINE_STRING(redirect_code_traces_to, NULL, |
804 "output deopt information and disassembly into the given file") | 804 "output deopt information and disassembly into the given file") |
805 | 805 |
806 DEFINE_BOOL(hydrogen_track_positions, false, | 806 DEFINE_BOOL(hydrogen_track_positions, false, |
807 "track source code positions when building IR") | 807 "track source code positions when building IR") |
808 | 808 |
| 809 DEFINE_BOOL(new_sampler_api, false, |
| 810 "use the new sampler API") |
| 811 |
809 // | 812 // |
810 // Disassembler only flags | 813 // Disassembler only flags |
811 // | 814 // |
812 #undef FLAG | 815 #undef FLAG |
813 #ifdef ENABLE_DISASSEMBLER | 816 #ifdef ENABLE_DISASSEMBLER |
814 #define FLAG FLAG_FULL | 817 #define FLAG FLAG_FULL |
815 #else | 818 #else |
816 #define FLAG FLAG_READONLY | 819 #define FLAG FLAG_READONLY |
817 #endif | 820 #endif |
818 | 821 |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 #undef DEFINE_ALIAS_FLOAT | 915 #undef DEFINE_ALIAS_FLOAT |
913 #undef DEFINE_ALIAS_ARGS | 916 #undef DEFINE_ALIAS_ARGS |
914 | 917 |
915 #undef FLAG_MODE_DECLARE | 918 #undef FLAG_MODE_DECLARE |
916 #undef FLAG_MODE_DEFINE | 919 #undef FLAG_MODE_DEFINE |
917 #undef FLAG_MODE_DEFINE_DEFAULTS | 920 #undef FLAG_MODE_DEFINE_DEFAULTS |
918 #undef FLAG_MODE_META | 921 #undef FLAG_MODE_META |
919 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 922 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
920 | 923 |
921 #undef COMMA | 924 #undef COMMA |
OLD | NEW |