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