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

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

Issue 325553002: --verify-predictable mode added for ensuring that GC behaves deterministically. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing review comments 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 | « src/d8.cc ('k') | src/heap.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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 DEFINE_implication(print_all_code, print_unopt_code) 853 DEFINE_implication(print_all_code, print_unopt_code)
854 DEFINE_implication(print_all_code, print_code_verbose) 854 DEFINE_implication(print_all_code, print_code_verbose)
855 DEFINE_implication(print_all_code, print_builtin_code) 855 DEFINE_implication(print_all_code, print_builtin_code)
856 DEFINE_implication(print_all_code, print_code_stubs) 856 DEFINE_implication(print_all_code, print_code_stubs)
857 DEFINE_implication(print_all_code, code_comments) 857 DEFINE_implication(print_all_code, code_comments)
858 #ifdef DEBUG 858 #ifdef DEBUG
859 DEFINE_implication(print_all_code, trace_codegen) 859 DEFINE_implication(print_all_code, trace_codegen)
860 #endif 860 #endif
861 #endif 861 #endif
862 862
863
864 //
865 // VERIFY_PREDICTABLE related flags
866 //
867 #undef FLAG
868
869 #ifdef VERIFY_PREDICTABLE
870 #define FLAG FLAG_FULL
871 #else
872 #define FLAG FLAG_READONLY
873 #endif
874
875 DEFINE_bool(verify_predictable, false,
876 "this mode is used for checking that V8 behaves predictably")
877 DEFINE_int(dump_allocations_digest_at_alloc, 0,
878 "dump allocations digest each n-th allocation")
879
880
863 // 881 //
864 // Read-only flags 882 // Read-only flags
865 // 883 //
866 #undef FLAG 884 #undef FLAG
867 #define FLAG FLAG_READONLY 885 #define FLAG FLAG_READONLY
868 886
869 // assembler-arm.h 887 // assembler-arm.h
870 DEFINE_bool(enable_ool_constant_pool, V8_OOL_CONSTANT_POOL, 888 DEFINE_bool(enable_ool_constant_pool, V8_OOL_CONSTANT_POOL,
871 "enable use of out-of-line constant pools (ARM only)") 889 "enable use of out-of-line constant pools (ARM only)")
872 890
(...skipping 17 matching lines...) Expand all
890 #undef DEFINE_ALIAS_float 908 #undef DEFINE_ALIAS_float
891 #undef DEFINE_ALIAS_args 909 #undef DEFINE_ALIAS_args
892 910
893 #undef FLAG_MODE_DECLARE 911 #undef FLAG_MODE_DECLARE
894 #undef FLAG_MODE_DEFINE 912 #undef FLAG_MODE_DEFINE
895 #undef FLAG_MODE_DEFINE_DEFAULTS 913 #undef FLAG_MODE_DEFINE_DEFAULTS
896 #undef FLAG_MODE_META 914 #undef FLAG_MODE_META
897 #undef FLAG_MODE_DEFINE_IMPLICATIONS 915 #undef FLAG_MODE_DEFINE_IMPLICATIONS
898 916
899 #undef COMMA 917 #undef COMMA
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698