Index: src/debug/debug-scopes.h |
diff --git a/src/debug/debug-scopes.h b/src/debug/debug-scopes.h |
index 6993d201ec702cbc80f4c46751889e87b63ea2e9..d187f3e7bd90fc2ce17ee44a4bad8f4d9a2015e0 100644 |
--- a/src/debug/debug-scopes.h |
+++ b/src/debug/debug-scopes.h |
@@ -93,8 +93,7 @@ |
}; |
Isolate* isolate_; |
- FrameInspector* const frame_inspector_ = nullptr; |
- Handle<JSGeneratorObject> generator_; |
+ FrameInspector* const frame_inspector_; |
Handle<Context> context_; |
List<ExtendedScopeInfo> nested_scope_chain_; |
Handle<StringSet> non_locals_; |
@@ -104,14 +103,9 @@ |
return frame_inspector_->GetArgumentsFrame(); |
} |
- Handle<Context> GetContext(); |
- Handle<JSFunction> GetFunction(); |
- int GetSourcePosition(); |
- |
- void MaterializeStackLocals(Handle<JSObject> local_scope, |
- Handle<ScopeInfo> scope_info); |
- |
- void TryParseAndRetrieveScopes(ScopeIterator::Option option); |
+ inline Handle<JSFunction> GetFunction() { |
+ return frame_inspector_->GetFunction(); |
+ } |
void RetrieveScopeChain(DeclarationScope* scope); |
@@ -139,7 +133,7 @@ |
Handle<Object> new_value); |
// Helper functions. |
- bool SetParameterValue(Handle<ScopeInfo> scope_info, |
+ bool SetParameterValue(Handle<ScopeInfo> scope_info, JavaScriptFrame* frame, |
Handle<String> parameter_name, |
Handle<Object> new_value); |
bool SetStackVariableValue(Handle<ScopeInfo> scope_info, |