Chromium Code Reviews

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

Issue 2435023002: Use a different map to distinguish eval contexts (Closed)
Patch Set: Changes based on review commnets Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 1118 matching lines...)
1129 "trace the creation of allocation sites") 1129 "trace the creation of allocation sites")
1130 1130
1131 // code-stubs.cc 1131 // code-stubs.cc
1132 DEFINE_BOOL(print_code_stubs, false, "print code stubs") 1132 DEFINE_BOOL(print_code_stubs, false, "print code stubs")
1133 DEFINE_BOOL(test_secondary_stub_cache, false, 1133 DEFINE_BOOL(test_secondary_stub_cache, false,
1134 "test secondary stub cache by disabling the primary one") 1134 "test secondary stub cache by disabling the primary one")
1135 1135
1136 DEFINE_BOOL(test_primary_stub_cache, false, 1136 DEFINE_BOOL(test_primary_stub_cache, false,
1137 "test primary stub cache by disabling the secondary one") 1137 "test primary stub cache by disabling the secondary one")
1138 1138
1139 DEFINE_BOOL(test_small_max_function_context_stub_size, false,
1140 "enable testing the function context size overflow path "
1141 "by making the maximum size smaller")
1139 1142
1140 // codegen-ia32.cc / codegen-arm.cc 1143 // codegen-ia32.cc / codegen-arm.cc
1141 DEFINE_BOOL(print_code, false, "print generated code") 1144 DEFINE_BOOL(print_code, false, "print generated code")
1142 DEFINE_BOOL(print_opt_code, false, "print optimized code") 1145 DEFINE_BOOL(print_opt_code, false, "print optimized code")
1143 DEFINE_STRING(print_opt_code_filter, "*", "filter for printing optimized code") 1146 DEFINE_STRING(print_opt_code_filter, "*", "filter for printing optimized code")
1144 DEFINE_BOOL(print_unopt_code, false, 1147 DEFINE_BOOL(print_unopt_code, false,
1145 "print unoptimized code before " 1148 "print unoptimized code before "
1146 "printing optimized code based on it") 1149 "printing optimized code based on it")
1147 DEFINE_BOOL(print_code_verbose, false, "print more information for code") 1150 DEFINE_BOOL(print_code_verbose, false, "print more information for code")
1148 DEFINE_BOOL(print_builtin_code, false, "print generated code for builtins") 1151 DEFINE_BOOL(print_builtin_code, false, "print generated code for builtins")
(...skipping 93 matching lines...)
1242 #undef DEFINE_ALIAS_FLOAT 1245 #undef DEFINE_ALIAS_FLOAT
1243 #undef DEFINE_ALIAS_ARGS 1246 #undef DEFINE_ALIAS_ARGS
1244 1247
1245 #undef FLAG_MODE_DECLARE 1248 #undef FLAG_MODE_DECLARE
1246 #undef FLAG_MODE_DEFINE 1249 #undef FLAG_MODE_DEFINE
1247 #undef FLAG_MODE_DEFINE_DEFAULTS 1250 #undef FLAG_MODE_DEFINE_DEFAULTS
1248 #undef FLAG_MODE_META 1251 #undef FLAG_MODE_META
1249 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1252 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1250 1253
1251 #undef COMMA 1254 #undef COMMA
OLDNEW

Powered by Google App Engine