Revert "[VM] Adds Future.then and Future.catchError stack unwinding."
This reverts commit 8f2c47f24b.
Reason for revert: We suspect this is causing VM crashes: http://b/177506826
Original change's description:
> [VM] Adds Future.then and Future.catchError stack unwinding.
>
> TEST=Various 'causal' tests updated below.
>
> Bug: https://github.com/dart-lang/sdk/issues/40815, https://github.com/dart-lang/sdk/issues/37953
> Change-Id: I1420d6163ac2e3b22e0971f7b0ad516895dded70
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/176662
> Commit-Queue: Clement Skau <cskau@google.com>
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
TBR=vegorov@google.com,cskau@google.com
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: https://github.com/dart-lang/sdk/issues/40815
Bug: https://github.com/dart-lang/sdk/issues/37953
Change-Id: I870f0202f43588f71a5d2b0f82338978b5a5dda9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/178998
Reviewed-by: Michal Terepeta <michalt@google.com>
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Michal Terepeta <michalt@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
f93cf84590
commit
978b838461
@@ -236,8 +236,6 @@ class StackFrameIterator : public ValueObject {
|
||||
Thread* thread,
|
||||
CrossThreadPolicy cross_thread_policy);
|
||||
|
||||
StackFrameIterator(const StackFrameIterator& orig);
|
||||
|
||||
// Checks if a next frame exists.
|
||||
bool HasNextFrame() const { return frames_.fp_ != 0; }
|
||||
|
||||
@@ -302,6 +300,7 @@ class StackFrameIterator : public ValueObject {
|
||||
Thread* thread_;
|
||||
|
||||
friend class ProfilerDartStackWalker;
|
||||
DISALLOW_COPY_AND_ASSIGN(StackFrameIterator);
|
||||
};
|
||||
|
||||
// Iterator for iterating over all dart frames (skips over exit frames,
|
||||
@@ -340,8 +339,6 @@ class DartFrameIterator : public ValueObject {
|
||||
thread,
|
||||
cross_thread_policy) {}
|
||||
|
||||
DartFrameIterator(const DartFrameIterator& orig) : frames_(orig.frames_) {}
|
||||
|
||||
// Get next dart frame.
|
||||
StackFrame* NextFrame() {
|
||||
StackFrame* frame = frames_.NextFrame();
|
||||
@@ -353,6 +350,8 @@ class DartFrameIterator : public ValueObject {
|
||||
|
||||
private:
|
||||
StackFrameIterator frames_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(DartFrameIterator);
|
||||
};
|
||||
|
||||
// Iterator for iterating over all inlined dart functions in an optimized
|
||||
|
||||
Reference in New Issue
Block a user