Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: src/flag-definitions.h

Issue 310083002: VERIFY_PREDICTABLE build mode introduced. Shadow pages support added. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/features.gypi ('k') | src/spaces.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 DEFINE_implication(print_all_code, print_unopt_code) 854 DEFINE_implication(print_all_code, print_unopt_code)
855 DEFINE_implication(print_all_code, print_code_verbose) 855 DEFINE_implication(print_all_code, print_code_verbose)
856 DEFINE_implication(print_all_code, print_builtin_code) 856 DEFINE_implication(print_all_code, print_builtin_code)
857 DEFINE_implication(print_all_code, print_code_stubs) 857 DEFINE_implication(print_all_code, print_code_stubs)
858 DEFINE_implication(print_all_code, code_comments) 858 DEFINE_implication(print_all_code, code_comments)
859 #ifdef DEBUG 859 #ifdef DEBUG
860 DEFINE_implication(print_all_code, trace_codegen) 860 DEFINE_implication(print_all_code, trace_codegen)
861 #endif 861 #endif
862 #endif 862 #endif
863 863
864
865 //
866 // VERIFY_PREDICTABLE related flags
867 //
868 #undef FLAG
869
870 #ifdef VERIFY_PREDICTABLE
871 #define FLAG FLAG_FULL
872 #else
873 #define FLAG FLAG_READONLY
874 #endif
875
876 DEFINE_bool(shadow_pages, false, "enable shadow pages allocation")
877
878
864 // 879 //
865 // Read-only flags 880 // Read-only flags
866 // 881 //
867 #undef FLAG 882 #undef FLAG
868 #define FLAG FLAG_READONLY 883 #define FLAG FLAG_READONLY
869 884
870 // assembler-arm.h 885 // assembler-arm.h
871 DEFINE_bool(enable_ool_constant_pool, V8_OOL_CONSTANT_POOL, 886 DEFINE_bool(enable_ool_constant_pool, V8_OOL_CONSTANT_POOL,
872 "enable use of out-of-line constant pools (ARM only)") 887 "enable use of out-of-line constant pools (ARM only)")
873 888
(...skipping 17 matching lines...) Expand all
891 #undef DEFINE_ALIAS_float 906 #undef DEFINE_ALIAS_float
892 #undef DEFINE_ALIAS_args 907 #undef DEFINE_ALIAS_args
893 908
894 #undef FLAG_MODE_DECLARE 909 #undef FLAG_MODE_DECLARE
895 #undef FLAG_MODE_DEFINE 910 #undef FLAG_MODE_DEFINE
896 #undef FLAG_MODE_DEFINE_DEFAULTS 911 #undef FLAG_MODE_DEFINE_DEFAULTS
897 #undef FLAG_MODE_META 912 #undef FLAG_MODE_META
898 #undef FLAG_MODE_DEFINE_IMPLICATIONS 913 #undef FLAG_MODE_DEFINE_IMPLICATIONS
899 914
900 #undef COMMA 915 #undef COMMA
OLDNEW
« no previous file with comments | « build/features.gypi ('k') | src/spaces.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698