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

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

Issue 769263002: Add support for enabling DCHECKs in release mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 6 years 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
« no previous file with comments | « src/deoptimizer.cc ('k') | src/frames.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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 749
750 // mark-compact.cc 750 // mark-compact.cc
751 DEFINE_BOOL(force_marking_deque_overflows, false, 751 DEFINE_BOOL(force_marking_deque_overflows, false,
752 "force overflows of marking deque by reducing it's size " 752 "force overflows of marking deque by reducing it's size "
753 "to 64 words") 753 "to 64 words")
754 754
755 DEFINE_BOOL(stress_compaction, false, 755 DEFINE_BOOL(stress_compaction, false,
756 "stress the GC compactor to flush out bugs (implies " 756 "stress the GC compactor to flush out bugs (implies "
757 "--force_marking_deque_overflows)") 757 "--force_marking_deque_overflows)")
758 758
759 // checks.cc
760 #ifdef ENABLE_SLOW_DCHECKS
761 DEFINE_BOOL(enable_slow_asserts, false,
762 "enable asserts that are slow to execute")
763 #endif
764
759 // 765 //
760 // Debug only flags 766 // Debug only flags
761 // 767 //
762 #undef FLAG 768 #undef FLAG
763 #ifdef DEBUG 769 #ifdef DEBUG
764 #define FLAG FLAG_FULL 770 #define FLAG FLAG_FULL
765 #else 771 #else
766 #define FLAG FLAG_READONLY 772 #define FLAG FLAG_READONLY
767 #endif 773 #endif
768 774
769 // checks.cc
770 #ifdef ENABLE_SLOW_DCHECKS
771 DEFINE_BOOL(enable_slow_asserts, false,
772 "enable asserts that are slow to execute")
773 #endif
774
775 // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc 775 // codegen-ia32.cc / codegen-arm.cc / macro-assembler-*.cc
776 DEFINE_BOOL(print_source, false, "pretty print source code") 776 DEFINE_BOOL(print_source, false, "pretty print source code")
777 DEFINE_BOOL(print_builtin_source, false, 777 DEFINE_BOOL(print_builtin_source, false,
778 "pretty print source code for builtins") 778 "pretty print source code for builtins")
779 DEFINE_BOOL(print_ast, false, "print source AST") 779 DEFINE_BOOL(print_ast, false, "print source AST")
780 DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins") 780 DEFINE_BOOL(print_builtin_ast, false, "print source AST for builtins")
781 DEFINE_STRING(stop_at, "", "function name where to insert a breakpoint") 781 DEFINE_STRING(stop_at, "", "function name where to insert a breakpoint")
782 DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints") 782 DEFINE_BOOL(trap_on_abort, false, "replace aborts by breakpoints")
783 783
784 // compiler.cc 784 // compiler.cc
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 #undef DEFINE_ALIAS_FLOAT 992 #undef DEFINE_ALIAS_FLOAT
993 #undef DEFINE_ALIAS_ARGS 993 #undef DEFINE_ALIAS_ARGS
994 994
995 #undef FLAG_MODE_DECLARE 995 #undef FLAG_MODE_DECLARE
996 #undef FLAG_MODE_DEFINE 996 #undef FLAG_MODE_DEFINE
997 #undef FLAG_MODE_DEFINE_DEFAULTS 997 #undef FLAG_MODE_DEFINE_DEFAULTS
998 #undef FLAG_MODE_META 998 #undef FLAG_MODE_META
999 #undef FLAG_MODE_DEFINE_IMPLICATIONS 999 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1000 1000
1001 #undef COMMA 1001 #undef COMMA
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698