Index: runtime/vm/compiler.cc |
=================================================================== |
--- runtime/vm/compiler.cc (revision 4881) |
+++ runtime/vm/compiler.cc (working copy) |
@@ -10,6 +10,7 @@ |
#include "vm/code_index_table.h" |
#include "vm/code_patcher.h" |
#include "vm/dart_entry.h" |
+#include "vm/debugger.h" |
#include "vm/disassembler.h" |
#include "vm/exceptions.h" |
#include "vm/flags.h" |
@@ -234,6 +235,9 @@ |
function_fullname, |
Code::Handle(function.CurrentCode()).EntryPoint()); |
} |
+ if (Isolate::Current()->debugger()->IsActive()) { |
+ Isolate::Current()->debugger()->NotifyCompilation(function); |
+ } |
if (FLAG_disassemble) { |
OS::Print("Code for %sfunction '%s' {\n", |
optimized ? "optimized " : "", function_fullname); |