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

Unified Diff: runtime/lib/async.cc

Issue 2981173002: Remove the debugger_ field from Isolate in a PRODUCT build (Closed)
Patch Set: Remove flag support_debugger Created 3 years, 5 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/lib/developer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/async.cc
diff --git a/runtime/lib/async.cc b/runtime/lib/async.cc
index 99219a9150ede6e00c5ee6122d4df197b661f6fd..2799419ed8bb05cfe3767ed81c6019dbed182e0e 100644
--- a/runtime/lib/async.cc
+++ b/runtime/lib/async.cc
@@ -12,13 +12,13 @@
namespace dart {
DEFINE_NATIVE_ENTRY(AsyncStarMoveNext_debuggerStepCheck, 1) {
+#if !defined(PRODUCT)
GET_NON_NULL_NATIVE_ARGUMENT(Closure, async_op, arguments->NativeArgAt(0));
- if (FLAG_support_debugger) {
- Debugger* debugger = isolate->debugger();
- if (debugger != NULL) {
- debugger->MaybeAsyncStepInto(async_op);
- }
+ Debugger* debugger = isolate->debugger();
+ if (debugger != NULL) {
+ debugger->MaybeAsyncStepInto(async_op);
}
+#endif
return Object::null();
}
« no previous file with comments | « no previous file | runtime/lib/developer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698