| 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_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 } | 103 } |
| 104 | 104 |
| 105 inline Handle<JSFunction> GetFunction() { | 105 inline Handle<JSFunction> GetFunction() { |
| 106 return Handle<JSFunction>::cast(frame_inspector_->GetFunction()); | 106 return Handle<JSFunction>::cast(frame_inspector_->GetFunction()); |
| 107 } | 107 } |
| 108 | 108 |
| 109 void RetrieveScopeChain(Scope* scope); | 109 void RetrieveScopeChain(Scope* scope); |
| 110 | 110 |
| 111 void CollectNonLocals(Scope* scope); | 111 void CollectNonLocals(Scope* scope); |
| 112 | 112 |
| 113 void UnwrapEvaluationContext(); |
| 114 |
| 113 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScriptScope(); | 115 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeScriptScope(); |
| 114 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeLocalScope(); | 116 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeLocalScope(); |
| 115 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeModuleScope(); | 117 MUST_USE_RESULT MaybeHandle<JSObject> MaterializeModuleScope(); |
| 116 Handle<JSObject> MaterializeClosure(); | 118 Handle<JSObject> MaterializeClosure(); |
| 117 Handle<JSObject> MaterializeCatchScope(); | 119 Handle<JSObject> MaterializeCatchScope(); |
| 118 Handle<JSObject> MaterializeBlockScope(); | 120 Handle<JSObject> MaterializeBlockScope(); |
| 121 Handle<JSObject> WithContextExtension(); |
| 119 | 122 |
| 120 bool SetLocalVariableValue(Handle<String> variable_name, | 123 bool SetLocalVariableValue(Handle<String> variable_name, |
| 121 Handle<Object> new_value); | 124 Handle<Object> new_value); |
| 122 bool SetBlockVariableValue(Handle<String> variable_name, | 125 bool SetBlockVariableValue(Handle<String> variable_name, |
| 123 Handle<Object> new_value); | 126 Handle<Object> new_value); |
| 124 bool SetClosureVariableValue(Handle<String> variable_name, | 127 bool SetClosureVariableValue(Handle<String> variable_name, |
| 125 Handle<Object> new_value); | 128 Handle<Object> new_value); |
| 126 bool SetScriptVariableValue(Handle<String> variable_name, | 129 bool SetScriptVariableValue(Handle<String> variable_name, |
| 127 Handle<Object> new_value); | 130 Handle<Object> new_value); |
| 128 bool SetCatchVariableValue(Handle<String> variable_name, | 131 bool SetCatchVariableValue(Handle<String> variable_name, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 146 void GetNestedScopeChain(Isolate* isolate, Scope* scope, | 149 void GetNestedScopeChain(Isolate* isolate, Scope* scope, |
| 147 int statement_position); | 150 int statement_position); |
| 148 | 151 |
| 149 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); | 152 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeIterator); |
| 150 }; | 153 }; |
| 151 | 154 |
| 152 } // namespace internal | 155 } // namespace internal |
| 153 } // namespace v8 | 156 } // namespace v8 |
| 154 | 157 |
| 155 #endif // V8_DEBUG_DEBUG_SCOPES_H_ | 158 #endif // V8_DEBUG_DEBUG_SCOPES_H_ |
| OLD | NEW |