summaryrefslogtreecommitdiff
path: root/deps/v8/src/debug/debug-frames.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/debug/debug-frames.cc')
-rw-r--r--deps/v8/src/debug/debug-frames.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/deps/v8/src/debug/debug-frames.cc b/deps/v8/src/debug/debug-frames.cc
index ad54247417..012d291622 100644
--- a/deps/v8/src/debug/debug-frames.cc
+++ b/deps/v8/src/debug/debug-frames.cc
@@ -45,11 +45,6 @@ int FrameInspector::GetParametersCount() {
}
-int FrameInspector::expression_count() {
- return deoptimized_frame_->expression_count();
-}
-
-
Object* FrameInspector::GetFunction() {
return is_optimized_ ? deoptimized_frame_->GetFunction() : frame_->function();
}
@@ -109,6 +104,8 @@ void FrameInspector::MaterializeStackLocals(Handle<JSObject> target,
// First fill all parameters.
for (int i = 0; i < scope_info->ParameterCount(); ++i) {
// Do not materialize the parameter if it is shadowed by a context local.
+ // TODO(yangguo): check whether this is necessary, now that we materialize
+ // context locals as well.
Handle<String> name(scope_info->ParameterName(i));
if (ParameterIsShadowedByContextLocal(scope_info, name)) continue;