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

Unified Diff: runtime/vm/code_generator_ia32.cc

Issue 8826007: First bits of external debugger API (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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 | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/dart_api_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_ia32.cc
===================================================================
--- runtime/vm/code_generator_ia32.cc (revision 2184)
+++ runtime/vm/code_generator_ia32.cc (working copy)
@@ -11,6 +11,7 @@
#include "vm/ast_printer.h"
#include "vm/class_finalizer.h"
#include "vm/dart_entry.h"
+#include "vm/debugger.h"
#include "vm/ic_data.h"
#include "vm/longjump.h"
#include "vm/object.h"
@@ -29,7 +30,6 @@
DECLARE_FLAG(bool, enable_type_checks);
DECLARE_FLAG(bool, report_invocation_count);
DECLARE_FLAG(bool, trace_compiler);
-DECLARE_FLAG(bool, debugger);
#define __ assembler_->
@@ -283,7 +283,7 @@
const bool may_optimize =
!FLAG_report_invocation_count &&
(FLAG_optimization_invocation_threshold >= 0) &&
- !FLAG_debugger &&
+ !Isolate::Current()->debugger()->IsActive() &&
parsed_function_.function().is_optimizable();
// Count invocation and check.
if (FLAG_report_invocation_count || may_optimize) {
« no previous file with comments | « runtime/include/dart_debugger_api.h ('k') | runtime/vm/dart_api_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698