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

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

Issue 2445683002: [modules] Add partial support for debug-scopes. (Closed)
Patch Set: Fix handle bug. 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);
156 void CopyContextExtensionToScopeObject(Handle<Context> context, 159 void CopyContextExtensionToScopeObject(Handle<Context> context,
157 Handle<JSObject> scope_object, 160 Handle<JSObject> scope_object,
158 KeyCollectionMode mode); 161 KeyCollectionMode mode);
159 162
160 // Get the chain of nested scopes within this scope for the source statement 163 // Get the chain of nested scopes within this scope for the source statement
161 // position. The scopes will be added to the list from the outermost scope to 164 // position. The scopes will be added to the list from the outermost scope to
162 // the innermost scope. Only nested block, catch or with scopes are tracked 165 // the innermost scope. Only nested block, catch or with scopes are tracked
163 // and will be returned, but no inner function scopes. 166 // and will be returned, but no inner function scopes.
164 void GetNestedScopeChain(Isolate* isolate, Scope* scope, 167 void GetNestedScopeChain(Isolate* isolate, Scope* scope,
165 int statement_position); 168 int statement_position);
166 169
167 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); 170 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
168 }; 171 };
169 172
170 } // namespace internal 173 } // namespace internal
171 } // namespace v8 174 } // namespace v8
172 175
173 #endif // V8_DEBUG_DEBUG_SCOPES_H_ 176 #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