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

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

Issue 2375933003: Add option to filter --print-opt-code. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « src/codegen.cc ('k') | no next file » | 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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 DEFINE_BOOL(test_secondary_stub_cache, false, 1117 DEFINE_BOOL(test_secondary_stub_cache, false,
1118 "test secondary stub cache by disabling the primary one") 1118 "test secondary stub cache by disabling the primary one")
1119 1119
1120 DEFINE_BOOL(test_primary_stub_cache, false, 1120 DEFINE_BOOL(test_primary_stub_cache, false,
1121 "test primary stub cache by disabling the secondary one") 1121 "test primary stub cache by disabling the secondary one")
1122 1122
1123 1123
1124 // codegen-ia32.cc / codegen-arm.cc 1124 // codegen-ia32.cc / codegen-arm.cc
1125 DEFINE_BOOL(print_code, false, "print generated code") 1125 DEFINE_BOOL(print_code, false, "print generated code")
1126 DEFINE_BOOL(print_opt_code, false, "print optimized code") 1126 DEFINE_BOOL(print_opt_code, false, "print optimized code")
1127 DEFINE_STRING(print_opt_code_filter, "*", "filter for printing optimized code")
1127 DEFINE_BOOL(print_unopt_code, false, 1128 DEFINE_BOOL(print_unopt_code, false,
1128 "print unoptimized code before " 1129 "print unoptimized code before "
1129 "printing optimized code based on it") 1130 "printing optimized code based on it")
1130 DEFINE_BOOL(print_code_verbose, false, "print more information for code") 1131 DEFINE_BOOL(print_code_verbose, false, "print more information for code")
1131 DEFINE_BOOL(print_builtin_code, false, "print generated code for builtins") 1132 DEFINE_BOOL(print_builtin_code, false, "print generated code for builtins")
1132 1133
1133 #ifdef ENABLE_DISASSEMBLER 1134 #ifdef ENABLE_DISASSEMBLER
1134 DEFINE_BOOL(sodium, false, 1135 DEFINE_BOOL(sodium, false,
1135 "print generated code output suitable for use with " 1136 "print generated code output suitable for use with "
1136 "the Sodium code viewer") 1137 "the Sodium code viewer")
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 #undef DEFINE_ALIAS_FLOAT 1210 #undef DEFINE_ALIAS_FLOAT
1210 #undef DEFINE_ALIAS_ARGS 1211 #undef DEFINE_ALIAS_ARGS
1211 1212
1212 #undef FLAG_MODE_DECLARE 1213 #undef FLAG_MODE_DECLARE
1213 #undef FLAG_MODE_DEFINE 1214 #undef FLAG_MODE_DEFINE
1214 #undef FLAG_MODE_DEFINE_DEFAULTS 1215 #undef FLAG_MODE_DEFINE_DEFAULTS
1215 #undef FLAG_MODE_META 1216 #undef FLAG_MODE_META
1216 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1217 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1217 1218
1218 #undef COMMA 1219 #undef COMMA
OLDNEW
« no previous file with comments | « src/codegen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698