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)) { |