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

Unified Diff: runtime/vm/service_event.h

Issue 1241673003: Async-step, first cut. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « runtime/vm/scopes.cc ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service_event.h
diff --git a/runtime/vm/service_event.h b/runtime/vm/service_event.h
index e72fbceb12110837476dd45d0ba8e842f0b85fdd..8f81da5b33c38952baf917dd44bdeecc2637df91 100644
--- a/runtime/vm/service_event.h
+++ b/runtime/vm/service_event.h
@@ -45,6 +45,7 @@ class ServiceEvent {
breakpoint_(NULL),
top_frame_(NULL),
exception_(NULL),
+ async_continuation_(NULL),
inspectee_(NULL),
gc_stats_(NULL),
bytes_(NULL),
@@ -100,6 +101,14 @@ class ServiceEvent {
exception_ = exception;
}
+ const Object* async_continuation() const {
+ return async_continuation_;
+ }
+ void set_async_continuation(const Object* closure) {
+ ASSERT(kind_ == kPauseBreakpoint);
+ async_continuation_ = closure;
+ }
+
const Object* inspectee() const {
return inspectee_;
}
@@ -139,6 +148,7 @@ class ServiceEvent {
Breakpoint* breakpoint_;
ActivationFrame* top_frame_;
const Object* exception_;
+ const Object* async_continuation_;
const Object* inspectee_;
const Heap::GCStats* gc_stats_;
const uint8_t* bytes_;
« no previous file with comments | « runtime/vm/scopes.cc ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698