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

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

Issue 1294543002: [Interpreter] Minimal bytecode generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth-register-conversion
Patch Set: Incorporate comments on patch set 1 and add a simple test. Created 5 years, 4 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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 274
275 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1) 275 DEFINE_VALUE_IMPLICATION(optimize_for_size, max_semi_space_size, 1)
276 276
277 // Flags for data representation optimizations 277 // Flags for data representation optimizations
278 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 278 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
279 DEFINE_BOOL(string_slices, true, "use string slices") 279 DEFINE_BOOL(string_slices, true, "use string slices")
280 280
281 // Flags for Ignition. 281 // Flags for Ignition.
282 DEFINE_BOOL(ignition, false, "use ignition interpreter") 282 DEFINE_BOOL(ignition, false, "use ignition interpreter")
283 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") 283 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter")
284 DEFINE_BOOL(print_bytecode, false,
285 "print bytecode generated by ignition interpreter")
284 DEFINE_BOOL(trace_ignition_codegen, false, 286 DEFINE_BOOL(trace_ignition_codegen, false,
285 "trace the codegen of ignition interpreter bytecode handlers") 287 "trace the codegen of ignition interpreter bytecode handlers")
286 288
287 // Flags for Crankshaft. 289 // Flags for Crankshaft.
288 DEFINE_BOOL(crankshaft, true, "use crankshaft") 290 DEFINE_BOOL(crankshaft, true, "use crankshaft")
289 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") 291 DEFINE_STRING(hydrogen_filter, "*", "optimization filter")
290 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") 292 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering")
291 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 293 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
292 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing") 294 DEFINE_BOOL(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
293 DEFINE_BOOL(use_inlining, true, "use function inlining") 295 DEFINE_BOOL(use_inlining, true, "use function inlining")
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 #undef DEFINE_ALIAS_FLOAT 1080 #undef DEFINE_ALIAS_FLOAT
1079 #undef DEFINE_ALIAS_ARGS 1081 #undef DEFINE_ALIAS_ARGS
1080 1082
1081 #undef FLAG_MODE_DECLARE 1083 #undef FLAG_MODE_DECLARE
1082 #undef FLAG_MODE_DEFINE 1084 #undef FLAG_MODE_DEFINE
1083 #undef FLAG_MODE_DEFINE_DEFAULTS 1085 #undef FLAG_MODE_DEFINE_DEFAULTS
1084 #undef FLAG_MODE_META 1086 #undef FLAG_MODE_META
1085 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1087 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1086 1088
1087 #undef COMMA 1089 #undef COMMA
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698