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

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: 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
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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 DEFINE_IMPLICATION(track_heap_object_fields, track_fields) 261 DEFINE_IMPLICATION(track_heap_object_fields, track_fields)
262 DEFINE_IMPLICATION(track_computed_fields, track_fields) 262 DEFINE_IMPLICATION(track_computed_fields, track_fields)
263 DEFINE_BOOL(track_field_types, true, "track field types") 263 DEFINE_BOOL(track_field_types, true, "track field types")
264 DEFINE_IMPLICATION(track_field_types, track_fields) 264 DEFINE_IMPLICATION(track_field_types, track_fields)
265 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields) 265 DEFINE_IMPLICATION(track_field_types, track_heap_object_fields)
266 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations") 266 DEFINE_BOOL(smi_binop, true, "support smi representation in binary operations")
267 267
268 // Flags for optimization types. 268 // Flags for optimization types.
269 DEFINE_BOOL(optimize_for_size, false, 269 DEFINE_BOOL(optimize_for_size, false,
270 "Enables optimizations which favor memory size over execution " 270 "Enables optimizations which favor memory size over execution "
271 "speed.") 271 "speed")
272 272
273 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 273 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
274 274
275 // Flags for data representation optimizations 275 // Flags for data representation optimizations
276 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 276 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
277 DEFINE_BOOL(string_slices, true, "use string slices") 277 DEFINE_BOOL(string_slices, true, "use string slices")
278 278
279 // Flags for Ignition.
280 DEFINE_BOOL(ignition, true, "use ignition interpreter")
281 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter")
282 DEFINE_BOOL(trace_ignition_codegen, true,
283 "trace the codegen of ignition interpreter bytecode handlers")
284
279 // Flags for Crankshaft. 285 // Flags for Crankshaft.
280 DEFINE_BOOL(crankshaft, true, "use crankshaft") 286 DEFINE_BOOL(crankshaft, true, "use crankshaft")
281 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") 287 DEFINE_STRING(hydrogen_filter, "*", "optimization filter")
282 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") 288 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering")
283 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 289 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
284 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 290 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
285 DEFINE_BOOL(use_inlining, true, "use function inlining") 291 DEFINE_BOOL(use_inlining, true, "use function inlining")
286 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis") 292 DEFINE_BOOL(use_escape_analysis, true, "use hydrogen escape analysis")
287 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding") 293 DEFINE_BOOL(use_allocation_folding, true, "use allocation folding")
288 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks") 294 DEFINE_BOOL(use_local_allocation_folding, false, "only fold in basic blocks")
(...skipping 774 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

Powered by Google App Engine
This is Rietveld 408576698