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

Unified Diff: runtime/vm/compiler.cc

Issue 1168933002: Fixes crashes in VM isolate shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add asserts Created 5 years, 6 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/compiler.cc
diff --git a/runtime/vm/compiler.cc b/runtime/vm/compiler.cc
index 05093ead27a22f6dcc501ef5b0ff15c373a0355c..a5175b13cb09fbbce1bd8849cc8682674c729029 100644
--- a/runtime/vm/compiler.cc
+++ b/runtime/vm/compiler.cc
@@ -1041,6 +1041,7 @@ static RawError* CompileFunctionHelper(CompilationPipeline* pipeline,
per_compile_timer.TotalElapsedTime());
}
+ ASSERT(isolate->debugger() != NULL);
isolate->debugger()->NotifyCompilation(function);
if (FLAG_disassemble && FlowGraphPrinter::ShouldPrint(function)) {

Powered by Google App Engine
This is Rietveld 408576698