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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 1252733005: Generate array allocation stub before ic call stubs to fix --lazy-dispatchers=false. (Closed) Base URL: git@github.com:dart-lang/sdk.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/stub_code.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index fcba8813107dbededd3908fcee91237857343e60..4e19dc3d9a9e39b6d3632c4e2dda88a255c66e8e 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -103,6 +103,26 @@ DEFINE_FLAG_HANDLER(NooptModeHandler,
"Run fast unoptimized code only.");
+DECLARE_FLAG(bool, lazy_dispatchers);
+DECLARE_FLAG(bool, interpret_irregexp);
+DECLARE_FLAG(bool, enable_mirrors);
+
+
+static void PrecompileModeHandler(bool value) {
+ if (value) {
+ NooptModeHandler(true);
+ FLAG_lazy_dispatchers = false;
+ FLAG_interpret_irregexp = true;
+ FLAG_enable_mirrors = false;
+ }
+}
+
+
+DEFINE_FLAG_HANDLER(PrecompileModeHandler,
+ precompile,
+ "Precompilation mode");
+
+
// Assign locations to incoming arguments, i.e., values pushed above spill slots
// with PushArgument. Recursively allocates from outermost to innermost
// environment.
« no previous file with comments | « no previous file | runtime/vm/stub_code.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698