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

Unified Diff: src/variables.cc

Issue 7890031: Mark variables as being accessed from any inner scope, not only function scopes (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 3 months 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
Index: src/variables.cc
diff --git a/src/variables.cc b/src/variables.cc
index 6cf6e0b04a9a62e4bc865414336558bec7eee590..971061b05378cc9be2e2728307fe43b29656038e 100644
--- a/src/variables.cc
+++ b/src/variables.cc
@@ -66,7 +66,7 @@ Variable::Variable(Scope* scope,
index_(-1),
local_if_not_shadowed_(NULL),
is_valid_LHS_(is_valid_LHS),
- is_accessed_from_inner_function_scope_(false),
+ is_accessed_from_inner_scope_(false),
is_used_(false) {
// names must be canonicalized for fast equality checks
ASSERT(name->IsSymbol());
« src/scopes.cc ('K') | « src/variables.h ('k') | test/mjsunit/regress/regress-96523.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698