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

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: Remove unused bailout reason, rebase on master. Created 4 years, 8 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 // Flags for Ignition. 290 // Flags for Ignition.
291 DEFINE_BOOL(ignition, false, "use ignition interpreter") 291 DEFINE_BOOL(ignition, false, "use ignition interpreter")
292 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") 292 DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter")
293 DEFINE_BOOL(print_bytecode, false, 293 DEFINE_BOOL(print_bytecode, false,
294 "print bytecode generated by ignition interpreter") 294 "print bytecode generated by ignition interpreter")
295 DEFINE_BOOL(trace_ignition, false, 295 DEFINE_BOOL(trace_ignition, false,
296 "trace the bytecodes executed by the ignition interpreter") 296 "trace the bytecodes executed by the ignition interpreter")
297 DEFINE_BOOL(trace_ignition_codegen, false, 297 DEFINE_BOOL(trace_ignition_codegen, false,
298 "trace the codegen of ignition interpreter bytecode handlers") 298 "trace the codegen of ignition interpreter bytecode handlers")
299 DEFINE_BOOL(ignition_count_handler_dispatches, false,
rmcilroy 2016/04/05 10:00:45 trace_ignition_dispatches
Stefano Sanfilippo 2016/04/05 14:01:45 Done.
300 "count dispatches to each handler")
rmcilroy 2016/04/05 10:00:45 traces the dispatches to bytecode handlers by the
Stefano Sanfilippo 2016/04/05 14:01:46 Done.
301 DEFINE_STRING(ignition_handler_to_handler_output_file,
rmcilroy 2016/04/05 10:00:45 trace_ignition_dispatches_output_file
Stefano Sanfilippo 2016/04/05 14:01:46 Done.
302 "v8.dispatch_counters_table.json",
rmcilroy 2016/04/05 10:00:45 v8.ignition_dispatches_table.json
Stefano Sanfilippo 2016/04/05 14:01:46 Done.
303 "file to write the handler to handler dispatch counters table to")
rmcilroy 2016/04/05 10:00:45 the file to which the bytecode handler dispatch ta
Stefano Sanfilippo 2016/04/05 14:01:45 Done.
299 304
300 // Flags for Crankshaft. 305 // Flags for Crankshaft.
301 DEFINE_BOOL(crankshaft, true, "use crankshaft") 306 DEFINE_BOOL(crankshaft, true, "use crankshaft")
302 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") 307 DEFINE_STRING(hydrogen_filter, "*", "optimization filter")
303 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") 308 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering")
304 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 309 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
305 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 310 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
306 DEFINE_BOOL(use_inlining, true, "use function inlining") 311 DEFINE_BOOL(use_inlining, true, "use function inlining")
307 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") 312 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis")
308 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") 313 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding")
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 #undef DEFINE_ALIAS_FLOAT 1164 #undef DEFINE_ALIAS_FLOAT
1160 #undef DEFINE_ALIAS_ARGS 1165 #undef DEFINE_ALIAS_ARGS
1161 1166
1162 #undef FLAG_MODE_DECLARE 1167 #undef FLAG_MODE_DECLARE
1163 #undef FLAG_MODE_DEFINE 1168 #undef FLAG_MODE_DEFINE
1164 #undef FLAG_MODE_DEFINE_DEFAULTS 1169 #undef FLAG_MODE_DEFINE_DEFAULTS
1165 #undef FLAG_MODE_META 1170 #undef FLAG_MODE_META
1166 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1171 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1167 1172
1168 #undef COMMA 1173 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698