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

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

Issue 2449883002: Revert of [modules] Add partial support for debug-scopes. (Closed)
Patch Set: Created 4 years, 1 month 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/contexts.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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 Handle<String> variable_name, 146 Handle<String> variable_name,
147 Handle<Object> new_value); 147 Handle<Object> new_value);
148 bool SetContextVariableValue(Handle<ScopeInfo> scope_info, 148 bool SetContextVariableValue(Handle<ScopeInfo> scope_info,
149 Handle<Context> context, 149 Handle<Context> context,
150 Handle<String> variable_name, 150 Handle<String> variable_name,
151 Handle<Object> new_value); 151 Handle<Object> new_value);
152 152
153 void CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info, 153 void CopyContextLocalsToScopeObject(Handle<ScopeInfo> scope_info,
154 Handle<Context> context, 154 Handle<Context> context,
155 Handle<JSObject> scope_object); 155 Handle<JSObject> scope_object);
156 void CopyModuleVarsToScopeObject(Handle<ScopeInfo> scope_info,
157 Handle<Context> context,
158 Handle<JSObject> scope_object);
159 void CopyContextExtensionToScopeObject(Handle<Context> context, 156 void CopyContextExtensionToScopeObject(Handle<Context> context,
160 Handle<JSObject> scope_object, 157 Handle<JSObject> scope_object,
161 KeyCollectionMode mode); 158 KeyCollectionMode mode);
162 159
163 // Get the chain of nested scopes within this scope for the source statement 160 // Get the chain of nested scopes within this scope for the source statement
164 // position. The scopes will be added to the list from the outermost scope to 161 // position. The scopes will be added to the list from the outermost scope to
165 // the innermost scope. Only nested block, catch or with scopes are tracked 162 // the innermost scope. Only nested block, catch or with scopes are tracked
166 // and will be returned, but no inner function scopes. 163 // and will be returned, but no inner function scopes.
167 void GetNestedScopeChain(Isolate* isolate, Scope* scope, 164 void GetNestedScopeChain(Isolate* isolate, Scope* scope,
168 int statement_position); 165 int statement_position);
169 166
170 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); 167 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
171 }; 168 };
172 169
173 } // namespace internal 170 } // namespace internal
174 } // namespace v8 171 } // namespace v8
175 172
176 #endif // V8_DEBUG_DEBUG_SCOPES_H_ 173 #endif // V8_DEBUG_DEBUG_SCOPES_H_
OLDNEW
« no previous file with comments | « src/contexts.cc ('k') | src/debug/debug-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698