Remove redundant handle in ScopeIterator constructor.
authoryangguo <yangguo@chromium.org>
Tue, 11 Aug 2015 09:32:27 +0000 (02:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 11 Aug 2015 09:32:45 +0000 (09:32 +0000)
R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1286653004

Cr-Commit-Position: refs/heads/master@{#30106}

src/debug/debug-scopes.cc

index e3b4e2c..bba8fe8 100644 (file)
@@ -83,7 +83,6 @@ ScopeIterator::ScopeIterator(Isolate* isolate, FrameInspector* frame_inspector,
     Scope* scope = NULL;
 
     // Check whether we are in global, eval or function code.
-    Handle<ScopeInfo> scope_info(shared_info->scope_info());
     Zone zone;
     if (scope_info->scope_type() != FUNCTION_SCOPE &&
         scope_info->scope_type() != ARROW_SCOPE) {