Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1190)

Unified Diff: src/ast/scopes.h

Issue 1500933002: [debugger] fix debug-evaluate wrt shadowed context var. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: add TODO Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ast/scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ast/scopes.h
diff --git a/src/ast/scopes.h b/src/ast/scopes.h
index b0e4d489b44e7da5a07a209576a57e561fecf963..152ef3f15b917bdd55c80f8daf786a94d384c237 100644
--- a/src/ast/scopes.h
+++ b/src/ast/scopes.h
@@ -6,6 +6,7 @@
#define V8_AST_SCOPES_H_
#include "src/ast/ast.h"
+#include "src/hashmap.h"
Michael Starzinger 2015/12/11 14:35:12 nit: The HashMap type could be forward declared in
#include "src/pending-compilation-error-handler.h"
#include "src/zone.h"
@@ -545,6 +546,8 @@ class Scope: public ZoneObject {
void GetNestedScopeChain(Isolate* isolate, List<Handle<ScopeInfo> >* chain,
int statement_position);
+ void CollectNonLocals(HashMap* non_locals);
+
// ---------------------------------------------------------------------------
// Strict mode support.
bool IsDeclared(const AstRawString* name) {
« no previous file with comments | « no previous file | src/ast/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698