Index: src/scopes.h |
=================================================================== |
--- src/scopes.h (revision 9109) |
+++ src/scopes.h (working copy) |
@@ -125,7 +125,7 @@ |
// Declare the function variable for a function literal. This variable |
// is in an intermediate scope between this function scope and the the |
// outer scope. Only possible for function scopes; at most one variable. |
- Variable* DeclareFunctionVar(Handle<String> name); |
+ VariableProxy* DeclareFunctionVar(Handle<String> name); |
// Declare a parameter in this scope. When there are duplicated |
// parameters the rightmost one 'wins'. However, the implementation |
@@ -239,7 +239,7 @@ |
// The variable holding the function literal for named function |
// literals, or NULL. |
// Only valid for function scopes. |
- Variable* function() const { |
+ VariableProxy* function() const { |
ASSERT(is_function_scope()); |
return function_; |
} |
@@ -358,7 +358,7 @@ |
// Convenience variable. |
Variable* receiver_; |
// Function variable, if any; function scopes only. |
- Variable* function_; |
+ VariableProxy* function_; |
// Convenience variable; function scopes only. |
Variable* arguments_; |