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

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

Issue 1817033002: [Interpreter] Add dispatch counters for each bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fix-abort
Patch Set: Created 4 years, 9 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
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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 // Flags for Ignition. 297 // Flags for Ignition.
298 DEFINE_BOOL(ignition, false, "use ignition interpreter") 298 DEFINE_BOOL(ignition, false, "use ignition interpreter")
299 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") 299 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter")
300 DEFINE_BOOL(print_bytecode, false, 300 DEFINE_BOOL(print_bytecode, false,
301 "print bytecode generated by ignition interpreter") 301 "print bytecode generated by ignition interpreter")
302 DEFINE_BOOL(trace_ignition, false, 302 DEFINE_BOOL(trace_ignition, false,
303 "trace the bytecodes executed by the ignition interpreter") 303 "trace the bytecodes executed by the ignition interpreter")
304 DEFINE_BOOL(trace_ignition_codegen, false, 304 DEFINE_BOOL(trace_ignition_codegen, false,
305 "trace the codegen of ignition interpreter bytecode handlers") 305 "trace the codegen of ignition interpreter bytecode handlers")
306 DEFINE_BOOL(ignition_count_handler_dispatches, false,
307 "count dispatches to each handler")
306 308
307 // Flags for Crankshaft. 309 // Flags for Crankshaft.
308 DEFINE_BOOL(crankshaft, true, "use crankshaft") 310 DEFINE_BOOL(crankshaft, true, "use crankshaft")
309 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") 311 DEFINE_STRING(hydrogen_filter, "*", "optimization filter")
310 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") 312 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering")
311 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 313 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
312 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 314 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
313 DEFINE_BOOL(use_inlining, true, "use function inlining") 315 DEFINE_BOOL(use_inlining, true, "use function inlining")
314 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") 316 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis")
315 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") 317 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding")
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
1169 #undef DEFINE_ALIAS_FLOAT 1171 #undef DEFINE_ALIAS_FLOAT
1170 #undef DEFINE_ALIAS_ARGS 1172 #undef DEFINE_ALIAS_ARGS
1171 1173
1172 #undef FLAG_MODE_DECLARE 1174 #undef FLAG_MODE_DECLARE
1173 #undef FLAG_MODE_DEFINE 1175 #undef FLAG_MODE_DEFINE
1174 #undef FLAG_MODE_DEFINE_DEFAULTS 1176 #undef FLAG_MODE_DEFINE_DEFAULTS
1175 #undef FLAG_MODE_META 1177 #undef FLAG_MODE_META
1176 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1178 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1177 1179
1178 #undef COMMA 1180 #undef COMMA
OLDNEW
« src/d8.cc ('K') | « src/external-reference-table.cc ('k') | src/interpreter/interpreter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698