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 2528913002: [compiler] Make --debug-code the default in debug builds. (Closed)
Patch Set: Adapt more. Created 4 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 | « no previous file | test/mjsunit/regress/regress-353551.js » ('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 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 DEFINE_INT(type_info_threshold, 25, 545 DEFINE_INT(type_info_threshold, 25,
546 "percentage of ICs that must have type info to allow optimization") 546 "percentage of ICs that must have type info to allow optimization")
547 DEFINE_INT(generic_ic_threshold, 30, 547 DEFINE_INT(generic_ic_threshold, 30,
548 "max percentage of megamorphic/generic ICs to allow optimization") 548 "max percentage of megamorphic/generic ICs to allow optimization")
549 DEFINE_INT(self_opt_count, 130, "call count before self-optimization") 549 DEFINE_INT(self_opt_count, 130, "call count before self-optimization")
550 550
551 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing") 551 DEFINE_BOOL(trace_opt_verbose, false, "extra verbose compilation tracing")
552 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt) 552 DEFINE_IMPLICATION(trace_opt_verbose, trace_opt)
553 553
554 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc 554 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
555 DEFINE_BOOL(debug_code, false, "generate extra code (assertions) for debugging") 555 DEFINE_BOOL(debug_code, DEBUG_BOOL,
556 "generate extra code (assertions) for debugging")
556 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly") 557 DEFINE_BOOL(code_comments, false, "emit comments in code disassembly")
557 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available") 558 DEFINE_BOOL(enable_sse3, true, "enable use of SSE3 instructions if available")
558 DEFINE_BOOL(enable_ssse3, true, "enable use of SSSE3 instructions if available") 559 DEFINE_BOOL(enable_ssse3, true, "enable use of SSSE3 instructions if available")
559 DEFINE_BOOL(enable_sse4_1, true, 560 DEFINE_BOOL(enable_sse4_1, true,
560 "enable use of SSE4.1 instructions if available") 561 "enable use of SSE4.1 instructions if available")
561 DEFINE_BOOL(enable_sahf, true, 562 DEFINE_BOOL(enable_sahf, true,
562 "enable use of SAHF instruction if available (X64 only)") 563 "enable use of SAHF instruction if available (X64 only)")
563 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available") 564 DEFINE_BOOL(enable_avx, true, "enable use of AVX instructions if available")
564 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available") 565 DEFINE_BOOL(enable_fma3, true, "enable use of FMA3 instructions if available")
565 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available") 566 DEFINE_BOOL(enable_bmi1, true, "enable use of BMI1 instructions if available")
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1238 #undef DEFINE_ALIAS_FLOAT 1239 #undef DEFINE_ALIAS_FLOAT
1239 #undef DEFINE_ALIAS_ARGS 1240 #undef DEFINE_ALIAS_ARGS
1240 1241
1241 #undef FLAG_MODE_DECLARE 1242 #undef FLAG_MODE_DECLARE
1242 #undef FLAG_MODE_DEFINE 1243 #undef FLAG_MODE_DEFINE
1243 #undef FLAG_MODE_DEFINE_DEFAULTS 1244 #undef FLAG_MODE_DEFINE_DEFAULTS
1244 #undef FLAG_MODE_META 1245 #undef FLAG_MODE_META
1245 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1246 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1246 1247
1247 #undef COMMA 1248 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-353551.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698