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 1402093002: [Interpreter]: Add fake support for try/catch/finally. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | src/interpreter/bytecode-generator.cc » ('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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 // Flags for data representation optimizations 281 // Flags for data representation optimizations
282 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles") 282 DEFINE_BOOL(unbox_double_arrays, true, "automatically unbox arrays of doubles")
283 DEFINE_BOOL(string_slices, true, "use string slices") 283 DEFINE_BOOL(string_slices, true, "use string slices")
284 284
285 // Flags for Ignition. 285 // Flags for Ignition.
286 DEFINE_BOOL(ignition, false, "use ignition interpreter") 286 DEFINE_BOOL(ignition, false, "use ignition interpreter")
287 DEFINE_IMPLICATION(ignition, vector_stores) 287 DEFINE_IMPLICATION(ignition, vector_stores)
288 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter") 288 DEFINE_STRING(ignition_filter, "~~", "filter for ignition interpreter")
289 DEFINE_STRING(ignition_script_filter, "", 289 DEFINE_STRING(ignition_script_filter, "",
290 "script filter for ignition interpreter") 290 "script filter for ignition interpreter")
291 DEFINE_BOOL(ignition_fake_try_catch, false,
292 "enable fake try-catch-finally blocks in ignition for testing")
291 DEFINE_BOOL(print_bytecode, false, 293 DEFINE_BOOL(print_bytecode, false,
292 "print bytecode generated by ignition interpreter") 294 "print bytecode generated by ignition interpreter")
293 DEFINE_BOOL(trace_ignition_codegen, false, 295 DEFINE_BOOL(trace_ignition_codegen, false,
294 "trace the codegen of ignition interpreter bytecode handlers") 296 "trace the codegen of ignition interpreter bytecode handlers")
295 297
296 // Flags for Crankshaft. 298 // Flags for Crankshaft.
297 DEFINE_BOOL(crankshaft, true, "use crankshaft") 299 DEFINE_BOOL(crankshaft, true, "use crankshaft")
298 DEFINE_STRING(hydrogen_filter, "*", "optimization filter") 300 DEFINE_STRING(hydrogen_filter, "*", "optimization filter")
299 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering") 301 DEFINE_BOOL(use_gvn, true, "use hydrogen global value numbering")
300 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations") 302 DEFINE_INT(gvn_iterations, 3, "maximum number of GVN fix-point iterations")
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 #undef DEFINE_ALIAS_FLOAT 1107 #undef DEFINE_ALIAS_FLOAT
1106 #undef DEFINE_ALIAS_ARGS 1108 #undef DEFINE_ALIAS_ARGS
1107 1109
1108 #undef FLAG_MODE_DECLARE 1110 #undef FLAG_MODE_DECLARE
1109 #undef FLAG_MODE_DEFINE 1111 #undef FLAG_MODE_DEFINE
1110 #undef FLAG_MODE_DEFINE_DEFAULTS 1112 #undef FLAG_MODE_DEFINE_DEFAULTS
1111 #undef FLAG_MODE_META 1113 #undef FLAG_MODE_META
1112 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1114 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1113 1115
1114 #undef COMMA 1116 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698