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

Side by Side Diff: src/debug/debug-scopes.h

Issue 2229373002: Fix CollectNonLocals (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address offline comment Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/ast/scopes.cc ('k') | src/debug/debug-scopes.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_DEBUG_SCOPES_H_ 5 #ifndef V8_DEBUG_DEBUG_SCOPES_H_
6 #define V8_DEBUG_DEBUG_SCOPES_H_ 6 #define V8_DEBUG_DEBUG_SCOPES_H_
7 7
8 #include "src/debug/debug-frames.h" 8 #include "src/debug/debug-frames.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 bool failed_; 103 bool failed_;
104 104
105 inline JavaScriptFrame* GetFrame() { 105 inline JavaScriptFrame* GetFrame() {
106 return frame_inspector_->GetArgumentsFrame(); 106 return frame_inspector_->GetArgumentsFrame();
107 } 107 }
108 108
109 inline Handle<JSFunction> GetFunction() { 109 inline Handle<JSFunction> GetFunction() {
110 return frame_inspector_->GetFunction(); 110 return frame_inspector_->GetFunction();
111 } 111 }
112 112
113 void RetrieveScopeChain(Scope* scope); 113 void RetrieveScopeChain(DeclarationScope* scope);
114 114
115 void CollectNonLocals(Scope* scope); 115 void CollectNonLocals(ParseInfo* info, DeclarationScope* scope);
116 116
117 void UnwrapEvaluationContext(); 117 void UnwrapEvaluationContext();
118 118
119 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScriptScope(); 119 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScriptScope();
120 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeLocalScope(); 120 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeLocalScope();
121 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeModuleScope(); 121 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeModuleScope();
122 Handle<JSObject> MaterializeClosure(); 122 Handle<JSObject> MaterializeClosure();
123 Handle<JSObject> MaterializeCatchScope(); 123 Handle<JSObject> MaterializeCatchScope();
124 Handle<JSObject> MaterializeInnerScope(); 124 Handle<JSObject> MaterializeInnerScope();
125 Handle<JSObject> WithContextExtension(); 125 Handle<JSObject> WithContextExtension();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 void GetNestedScopeChain(Isolate* isolate, Scope* scope, 161 void GetNestedScopeChain(Isolate* isolate, Scope* scope,
162 int statement_position); 162 int statement_position);
163 163
164 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); 164 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
165 }; 165 };
166 166
167 } // namespace internal 167 } // namespace internal
168 } // namespace v8 168 } // namespace v8
169 169
170 #endif // V8_DEBUG_DEBUG_SCOPES_H_ 170 #endif // V8_DEBUG_DEBUG_SCOPES_H_
OLDNEW
« no previous file with comments | « src/ast/scopes.cc ('k') | src/debug/debug-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698