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

Unified Diff: runtime/vm/compiler.cc

Issue 9581013: Splitting debugger breakpoints into two parts (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | runtime/vm/debugger.h » ('j') | runtime/vm/debugger.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | runtime/vm/debugger.h » ('j') | runtime/vm/debugger.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698