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

Unified Diff: src/scopes.h

Issue 3432022: Clean up some messiness in Scopes. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « src/scopeinfo.cc ('k') | src/scopes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopes.h
diff --git a/src/scopes.h b/src/scopes.h
index c2354b2051008d689b4520d4e5d8114e58305aac..0d706f9ff75b75c8fc670a9c0ae83f8efadbab6e 100644
--- a/src/scopes.h
+++ b/src/scopes.h
@@ -233,11 +233,11 @@ class Scope: public ZoneObject {
// The local variable 'arguments' if we need to allocate it; NULL otherwise.
// If arguments() exist, arguments_shadow() exists, too.
- VariableProxy* arguments() const { return arguments_; }
+ Variable* arguments() const { return arguments_; }
// The '.arguments' shadow variable if we need to allocate it; NULL otherwise.
// If arguments_shadow() exist, arguments() exists, too.
- VariableProxy* arguments_shadow() const { return arguments_shadow_; }
+ Variable* arguments_shadow() const { return arguments_shadow_; }
// Declarations list.
ZoneList<Declaration*>* declarations() { return &decls_; }
@@ -322,9 +322,9 @@ class Scope: public ZoneObject {
// Function variable, if any; function scopes only.
Variable* function_;
// Convenience variable; function scopes only.
- VariableProxy* arguments_;
+ Variable* arguments_;
// Convenience variable; function scopes only.
- VariableProxy* arguments_shadow_;
+ Variable* arguments_shadow_;
// Illegal redeclaration.
Expression* illegal_redecl_;
« no previous file with comments | « src/scopeinfo.cc ('k') | src/scopes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698