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

Unified Diff: runtime/vm/debugger.h

Issue 2718353002: Revert "Track the 'awaiter return' call stack..." (Closed)
Patch Set: Created 3 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 | « runtime/vm/compiler.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 206616ab707890e430dae5ec9451db599e6ae2af..bf932feb31e18e883c1f587416453068f129b081 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -260,7 +260,6 @@ class ActivationFrame : public ZoneAllocated {
kRegular,
kAsyncSuspensionMarker,
kAsyncCausal,
- kAsyncActivation,
};
ActivationFrame(uword pc,
@@ -275,8 +274,6 @@ class ActivationFrame : public ZoneAllocated {
explicit ActivationFrame(Kind kind);
- explicit ActivationFrame(const Closure& async_activation);
-
uword pc() const { return pc_; }
uword fp() const { return fp_; }
uword sp() const { return sp_; }
@@ -335,10 +332,6 @@ class ActivationFrame : public ZoneAllocated {
// the complete script, function, and, local variable objects are included.
void PrintToJSONObject(JSONObject* jsobj, bool full = false);
- RawObject* GetAsyncAwaiter();
-
- bool HandlesException(const Instance& exc_obj);
-
private:
void PrintToJSONObjectRegular(JSONObject* jsobj, bool full);
void PrintToJSONObjectAsyncCausal(JSONObject* jsobj, bool full);
@@ -353,12 +346,6 @@ class ActivationFrame : public ZoneAllocated {
void GetVarDescriptors();
void GetDescIndices();
- RawObject* GetAsyncStreamControllerStreamAwaiter(const Object& stream);
- RawObject* GetAsyncStreamControllerStream();
- RawObject* GetAsyncCompleterAwaiter(const Object& completer);
- RawObject* GetAsyncCompleter();
- void ExtractTokenPositionFromAsyncClosure();
-
static const char* KindToCString(Kind kind) {
switch (kind) {
case kRegular:
@@ -640,14 +627,12 @@ class Debugger {
void SyncBreakpointLocation(BreakpointLocation* loc);
ActivationFrame* TopDartFrame() const;
- static ActivationFrame* CollectDartFrame(
- Isolate* isolate,
- uword pc,
- StackFrame* frame,
- const Code& code,
- const Array& deopt_frame,
- intptr_t deopt_frame_offset,
- ActivationFrame::Kind kind = ActivationFrame::kRegular);
+ static ActivationFrame* CollectDartFrame(Isolate* isolate,
+ uword pc,
+ StackFrame* frame,
+ const Code& code,
+ const Array& deopt_frame,
+ intptr_t deopt_frame_offset);
static RawArray* DeoptimizeToArray(Thread* thread,
StackFrame* frame,
const Code& code);
@@ -663,14 +648,10 @@ class Debugger {
Array* deopt_frame);
static DebuggerStackTrace* CollectStackTrace();
static DebuggerStackTrace* CollectAsyncCausalStackTrace();
- static DebuggerStackTrace* CollectAwaiterReturnStackTrace();
void SignalPausedEvent(ActivationFrame* top_frame, Breakpoint* bpt);
intptr_t nextId() { return next_id_++; }
- bool ShouldPauseOnAsyncException(DebuggerStackTrace* stack_trace,
- const Instance& exc);
-
bool ShouldPauseOnException(DebuggerStackTrace* stack_trace,
const Instance& exc);
« no previous file with comments | « runtime/vm/compiler.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698