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

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

Issue 1375813002: [V8] Add name of function for function's closure scope (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | 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 12 matching lines...) Expand all
23 ScopeTypeWith, 23 ScopeTypeWith,
24 ScopeTypeClosure, 24 ScopeTypeClosure,
25 ScopeTypeCatch, 25 ScopeTypeCatch,
26 ScopeTypeBlock, 26 ScopeTypeBlock,
27 ScopeTypeScript, 27 ScopeTypeScript,
28 ScopeTypeModule 28 ScopeTypeModule
29 }; 29 };
30 30
31 static const int kScopeDetailsTypeIndex = 0; 31 static const int kScopeDetailsTypeIndex = 0;
32 static const int kScopeDetailsObjectIndex = 1; 32 static const int kScopeDetailsObjectIndex = 1;
33 static const int kScopeDetailsSize = 2; 33 static const int kScopeDetailsNameIndex = 2;
34 static const int kScopeDetailsSize = 3;
34 35
35 ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector, 36 ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector,
36 bool ignore_nested_scopes = false); 37 bool ignore_nested_scopes = false);
37 38
38 ScopeIterator(Isolate* isolate, Handle<JSFunction> function); 39 ScopeIterator(Isolate* isolate, Handle<JSFunction> function);
39 40
40 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScopeDetails(); 41 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScopeDetails();
41 42
42 // More scopes? 43 // More scopes?
43 bool Done() { 44 bool Done() {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 Handle<JSObject> scope_object, 121 Handle<JSObject> scope_object,
121 JSReceiver::KeyCollectionType type); 122 JSReceiver::KeyCollectionType type);
122 123
123 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); 124 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator);
124 }; 125 };
125 126
126 } // namespace internal 127 } // namespace internal
127 } // namespace v8 128 } // namespace v8
128 129
129 #endif // V8_DEBUG_DEBUG_SCOPES_H_ 130 #endif // V8_DEBUG_DEBUG_SCOPES_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug-scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698