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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 1965823002: Initial isolate reload support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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
Index: runtime/vm/flow_graph_compiler.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 1ae17b72a2f149e736f86fd47a604d71ff90cf76..ae995166ae2f41bdfa14bc580f49a65feb1b533e 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -62,6 +62,7 @@ DECLARE_FLAG(int, inlining_depth_threshold);
DECLARE_FLAG(int, inlining_caller_size_threshold);
DECLARE_FLAG(int, inlining_constant_arguments_max_size_threshold);
DECLARE_FLAG(int, inlining_constant_arguments_min_size_threshold);
+DECLARE_FLAG(int, reload_every);
static void PrecompilationModeHandler(bool value) {
if (value) {
@@ -353,7 +354,9 @@ bool FlowGraphCompiler::CanOSRFunction() const {
bool FlowGraphCompiler::ForceSlowPathForStackOverflow() const {
- if (FLAG_stacktrace_every > 0 || FLAG_deoptimize_every > 0) {
+ if ((FLAG_stacktrace_every > 0) ||
+ (FLAG_deoptimize_every > 0) ||
+ (FLAG_reload_every > 0)) {
return true;
}
if (FLAG_stacktrace_filter != NULL &&

Powered by Google App Engine
This is Rietveld 408576698