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

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

Issue 10823362: Change the maximum optimization count into a commandline flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler.cc ('k') | src/hydrogen.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt") 317 DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt")
318 DEFINE_bool(trace_deopt, false, "trace deoptimization") 318 DEFINE_bool(trace_deopt, false, "trace deoptimization")
319 319
320 // compiler.cc 320 // compiler.cc
321 DEFINE_int(min_preparse_length, 1024, 321 DEFINE_int(min_preparse_length, 1024,
322 "minimum length for automatic enable preparsing") 322 "minimum length for automatic enable preparsing")
323 DEFINE_bool(always_full_compiler, false, 323 DEFINE_bool(always_full_compiler, false,
324 "try to use the dedicated run-once backend for all code") 324 "try to use the dedicated run-once backend for all code")
325 DEFINE_bool(trace_bailout, false, 325 DEFINE_bool(trace_bailout, false,
326 "print reasons for falling back to using the classic V8 backend") 326 "print reasons for falling back to using the classic V8 backend")
327 DEFINE_int(max_opt_count, 10,
328 "maximum number of optimization attempts before giving up.")
327 329
328 // compilation-cache.cc 330 // compilation-cache.cc
329 DEFINE_bool(compilation_cache, true, "enable compilation cache") 331 DEFINE_bool(compilation_cache, true, "enable compilation cache")
330 332
331 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions") 333 DEFINE_bool(cache_prototype_transitions, true, "cache prototype transitions")
332 334
333 // debug.cc 335 // debug.cc
334 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") 336 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response")
335 DEFINE_bool(debugger_auto_break, true, 337 DEFINE_bool(debugger_auto_break, true,
336 "automatically set the debug break flag when debugger commands are " 338 "automatically set the debug break flag when debugger commands are "
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 #undef DEFINE_bool 690 #undef DEFINE_bool
689 #undef DEFINE_int 691 #undef DEFINE_int
690 #undef DEFINE_string 692 #undef DEFINE_string
691 #undef DEFINE_implication 693 #undef DEFINE_implication
692 694
693 #undef FLAG_MODE_DECLARE 695 #undef FLAG_MODE_DECLARE
694 #undef FLAG_MODE_DEFINE 696 #undef FLAG_MODE_DEFINE
695 #undef FLAG_MODE_DEFINE_DEFAULTS 697 #undef FLAG_MODE_DEFINE_DEFAULTS
696 #undef FLAG_MODE_META 698 #undef FLAG_MODE_META
697 #undef FLAG_MODE_DEFINE_IMPLICATIONS 699 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698