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

Unified Diff: runtime/vm/isolate.cc

Issue 1459443002: VM: Add dart_precompiled build target, a standalone VM without the JIT compiler. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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/isolate.cc
diff --git a/runtime/vm/isolate.cc b/runtime/vm/isolate.cc
index 1a098fa78fa8b2587fea530accbbe10c0d887853..4c49953b5ad2756c4d56135e43830a5dc26868dc 100644
--- a/runtime/vm/isolate.cc
+++ b/runtime/vm/isolate.cc
@@ -1639,7 +1639,9 @@ void Isolate::LowLevelShutdown() {
void Isolate::Shutdown() {
ASSERT(this == Isolate::Current());
// Wait until all background compilation has finished.
- BackgroundCompiler::Stop(background_compiler_);
+ if (background_compiler_ != NULL) {
+ BackgroundCompiler::Stop(background_compiler_);
+ }
rmacnak 2015/11/17 20:51:18 else { ASSERT(Dart::IsRunningPrecompiledCode())
Florian Schneider 2015/11/18 11:44:09 This may be too strict - e.g. running with --no-ba
rmacnak 2015/11/18 19:00:07 Ack.
#if defined(DEBUG)
if (heap_ != NULL) {

Powered by Google App Engine
This is Rietveld 408576698