OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |