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(); |