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

Unified Diff: runtime/vm/runtime_entry.cc

Issue 2997243002: Move all the isolate reload code under !defined(DART_PRECOMPILED_RUNTIME) (Closed)
Patch Set: Fix. Created 3 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 side-by-side diff with in-line comments
Download patch
« runtime/vm/isolate_reload.cc ('K') | « runtime/vm/object_reload.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/runtime_entry.cc
diff --git a/runtime/vm/runtime_entry.cc b/runtime/vm/runtime_entry.cc
index 6a74969c65c8c5a2f77d613d95db1a0fdd9f2632..b9877d10dd598576da683d4efd240d6c162d2e58 100644
--- a/runtime/vm/runtime_entry.cc
+++ b/runtime/vm/runtime_entry.cc
@@ -1676,6 +1676,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
// TODO(turnidge): Consider using DeoptimizeAt instead.
DeoptimizeFunctionsOnStack();
}
+#if !defined(DART_PRECOMPILED_RUNTIME)
if (do_reload) {
JSONStream js;
// Maybe adjust the rate of future reloads.
@@ -1686,6 +1687,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) {
FATAL1("*** Isolate reload failed:\n%s\n", js.ToCString());
}
}
+#endif // !defined(DART_PRECOMPILED_RUNTIME)
if (do_stacktrace) {
String& var_name = String::Handle();
Instance& var_value = Instance::Handle();
« runtime/vm/isolate_reload.cc ('K') | « runtime/vm/object_reload.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698