Reviewers: Benedikt Meurer,
Description:
Remove redundant handle in ScopeIterator constructor.
[email protected]
Please review this at https://codereview.chromium.org/1286653004/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -1 lines):
M src/debug/debug-scopes.cc
Index: src/debug/debug-scopes.cc
diff --git a/src/debug/debug-scopes.cc b/src/debug/debug-scopes.cc
index
e3b4e2c9985d55f1288b613eaf46877f4c7640e6..bba8fe8e761843a8ed184197b01e6a5bd17c6b1a
100644
--- a/src/debug/debug-scopes.cc
+++ b/src/debug/debug-scopes.cc
@@ -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) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.