| Index: src/debug/debug-scopes.h
|
| diff --git a/src/debug/debug-scopes.h b/src/debug/debug-scopes.h
|
| index 87c85b8ba5aba60df00a4034fd42fd65077ff2fa..d187f3e7bd90fc2ce17ee44a4bad8f4d9a2015e0 100644
|
| --- a/src/debug/debug-scopes.h
|
| +++ b/src/debug/debug-scopes.h
|
| @@ -50,12 +50,7 @@ class ScopeIterator {
|
| MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScopeDetails();
|
|
|
| // More scopes?
|
| - bool Done() {
|
| - DCHECK(!failed_);
|
| - return context_.is_null();
|
| - }
|
| -
|
| - bool Failed() { return failed_; }
|
| + bool Done() { return context_.is_null(); }
|
|
|
| // Move to the next scope.
|
| void Next();
|
| @@ -103,7 +98,6 @@ class ScopeIterator {
|
| List<ExtendedScopeInfo> nested_scope_chain_;
|
| Handle<StringSet> non_locals_;
|
| bool seen_script_scope_;
|
| - bool failed_;
|
|
|
| inline JavaScriptFrame* GetFrame() {
|
| return frame_inspector_->GetArgumentsFrame();
|
|
|