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

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

Issue 1239793002: [interpreter] Add basic framework for bytecode handler code generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix GN for realz Created 5 years, 5 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/compiler/x64/linkage-x64.cc ('k') | src/heap/heap.h » ('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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) 262 DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
263 DEFINE_IMPLICATION(track_computed_fields, track_fields) 263 DEFINE_IMPLICATION(track_computed_fields, track_fields)
264 DEFINE_BOOL(track_field_types, true, "track field types") 264 DEFINE_BOOL(track_field_types, true, "track field types")
265 DEFINE_IMPLICATION(track_field_types, track_fields) 265 DEFINE_IMPLICATION(track_field_types, track_fields)
266 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) 266 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
267 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") 267 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations")
268 268
269 // Flags for optimization types. 269 // Flags for optimization types.
270 DEFINE_BOOL(optimize_for_size, false, 270 DEFINE_BOOL(optimize_for_size, false,
271 "Enables optimizations which favor memory size over execution " 271 "Enables optimizations which favor memory size over execution "
272 "speed.") 272 "speed")
273 273
274 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 274 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
275 275
276 // Flags for data representation optimizations 276 // Flags for data representation optimizations
277 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 277 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
278 DEFINE_BOOL(string_slices, true, "use string slices") 278 DEFINE_BOOL(string_slices, true, "use string slices")
279 279
280 // Flags for Ignition.
281 DEFINE_BOOL(ignition, false, "use ignition interpreter")
282 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter")
283 DEFINE_BOOL(trace_ignition_codegen, false,
284 "trace the codegen of ignition interpreter bytecode handlers")
285
280 // Flags for Crankshaft. 286 // Flags for Crankshaft.
281 DEFINE_BOOL(crankshaft, true, "use crankshaft") 287 DEFINE_BOOL(crankshaft, true, "use crankshaft")
282 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") 288 DEFINE_STRING(hydrogen_filter, "*", "optimization filter")
283 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") 289 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering")
284 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 290 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
285 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 291 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
286 DEFINE_BOOL(use_inlining, true, "use function inlining") 292 DEFINE_BOOL(use_inlining, true, "use function inlining")
287 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") 293 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis")
288 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") 294 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding")
289 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") 295 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks")
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 #undef DEFINE_ALIAS_FLOAT 1069 #undef DEFINE_ALIAS_FLOAT
1064 #undef DEFINE_ALIAS_ARGS 1070 #undef DEFINE_ALIAS_ARGS
1065 1071
1066 #undef FLAG_MODE_DECLARE 1072 #undef FLAG_MODE_DECLARE
1067 #undef FLAG_MODE_DEFINE 1073 #undef FLAG_MODE_DEFINE
1068 #undef FLAG_MODE_DEFINE_DEFAULTS 1074 #undef FLAG_MODE_DEFINE_DEFAULTS
1069 #undef FLAG_MODE_META 1075 #undef FLAG_MODE_META
1070 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1076 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1071 1077
1072 #undef COMMA 1078 #undef COMMA
OLDNEW
« no previous file with comments | « src/compiler/x64/linkage-x64.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698