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

Unified Diff: runtime/vm/code_generator_ia32.cc

Issue 8775060: Debugger step 2 (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
Index: runtime/vm/code_generator_ia32.cc
===================================================================
--- runtime/vm/code_generator_ia32.cc (revision 1987)
+++ runtime/vm/code_generator_ia32.cc (working copy)
@@ -29,6 +29,7 @@
DECLARE_FLAG(bool, enable_type_checks);
DECLARE_FLAG(bool, report_invocation_count);
DECLARE_FLAG(bool, trace_compiler);
+DECLARE_FLAG(bool, debugger);
#define __ assembler_->
@@ -282,6 +283,7 @@
const bool may_optimize =
!FLAG_report_invocation_count &&
(FLAG_optimization_invocation_threshold >= 0) &&
+ !FLAG_debugger &&
parsed_function_.function().is_optimizable();
// Count invocation and check.
if (FLAG_report_invocation_count || may_optimize) {
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/debugger.h » ('j') | runtime/vm/debugger.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698