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

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

Issue 1859033002: [debugger] ScopeIterator should unwrap debug-evaluate contexts. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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-evaluate.cc » ('j') | src/debug/debug-scopes.cc » ('J')
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_EVALUATE_H_ 5 #ifndef V8_DEBUG_DEBUG_EVALUATE_H_
6 #define V8_DEBUG_DEBUG_EVALUATE_H_ 6 #define V8_DEBUG_DEBUG_EVALUATE_H_
7 7
8 #include "src/frames.h" 8 #include "src/frames.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 Handle<SharedFunctionInfo> outer_info() const { return outer_info_; } 57 Handle<SharedFunctionInfo> outer_info() const { return outer_info_; }
58 58
59 private: 59 private:
60 struct ContextChainElement { 60 struct ContextChainElement {
61 Handle<ScopeInfo> scope_info; 61 Handle<ScopeInfo> scope_info;
62 Handle<Context> wrapped_context; 62 Handle<Context> wrapped_context;
63 Handle<JSObject> materialized_object; 63 Handle<JSObject> materialized_object;
64 Handle<StringSet> whitelist; 64 Handle<StringSet> whitelist;
65 }; 65 };
66 66
67 Handle<JSObject> NewJSObjectWithNullProto();
68
69 // Helper function to find or create the arguments object for 67 // Helper function to find or create the arguments object for
70 // Runtime_DebugEvaluate. 68 // Runtime_DebugEvaluate.
71 void MaterializeArgumentsObject(Handle<JSObject> target, 69 void MaterializeArgumentsObject(Handle<JSObject> target,
72 Handle<JSFunction> function); 70 Handle<JSFunction> function);
73 71
74 void MaterializeReceiver(Handle<JSObject> target, 72 void MaterializeReceiver(Handle<JSObject> target,
75 Handle<Context> local_context, 73 Handle<Context> local_context,
76 Handle<JSFunction> local_function, 74 Handle<JSFunction> local_function,
77 Handle<StringSet> non_locals); 75 Handle<StringSet> non_locals);
78 76
(...skipping 11 matching lines...) Expand all
90 Handle<HeapObject> context_extension, 88 Handle<HeapObject> context_extension,
91 Handle<Object> receiver, 89 Handle<Object> receiver,
92 Handle<String> source); 90 Handle<String> source);
93 }; 91 };
94 92
95 93
96 } // namespace internal 94 } // namespace internal
97 } // namespace v8 95 } // namespace v8
98 96
99 #endif // V8_DEBUG_DEBUG_EVALUATE_H_ 97 #endif // V8_DEBUG_DEBUG_EVALUATE_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug-evaluate.cc » ('j') | src/debug/debug-scopes.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698