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

Unified Diff: runtime/vm/code_generator_x64.cc

Issue 9431036: Disable invocation of otpimizing compiler on x64 regardless of optimization_invocation_threshold va… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_x64.cc
===================================================================
--- runtime/vm/code_generator_x64.cc (revision 4474)
+++ runtime/vm/code_generator_x64.cc (working copy)
@@ -24,7 +24,7 @@
DEFINE_FLAG(bool, print_ast, false, "Print abstract syntax tree.");
DEFINE_FLAG(bool, print_scopes, false, "Print scopes of local variables.");
DEFINE_FLAG(bool, trace_functions, false, "Trace entry of each function.");
-DEFINE_FLAG(int, optimization_invocation_threshold, -1,
+DEFINE_FLAG(int, optimization_invocation_threshold, 1000,
"number of invocations before a function is optimized, -1 means never.");
DECLARE_FLAG(bool, enable_type_checks);
DECLARE_FLAG(bool, report_invocation_count);
@@ -283,6 +283,7 @@
// - function is marked as non-optimizable.
// - type checks are enabled.
const bool may_optimize =
+ false && // TODO(srdjan): Remove once the optimizer is enabled on x64.
!FLAG_report_invocation_count &&
(FLAG_optimization_invocation_threshold >= 0) &&
!Isolate::Current()->debugger()->IsActive() &&
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698