| Index: src/scopes.h
 | 
| ===================================================================
 | 
| --- src/scopes.h	(revision 9568)
 | 
| +++ src/scopes.h	(working copy)
 | 
| @@ -50,7 +50,7 @@
 | 
|  
 | 
|    Variable* Declare(Scope* scope,
 | 
|                      Handle<String> name,
 | 
| -                    Variable::Mode mode,
 | 
| +                    VariableMode mode,
 | 
|                      bool is_valid_lhs,
 | 
|                      Variable::Kind kind);
 | 
|  
 | 
| @@ -64,8 +64,8 @@
 | 
|  // and setup time for scopes that don't need them.
 | 
|  class DynamicScopePart : public ZoneObject {
 | 
|   public:
 | 
| -  VariableMap* GetMap(Variable::Mode mode) {
 | 
| -    int index = mode - Variable::DYNAMIC;
 | 
| +  VariableMap* GetMap(VariableMode mode) {
 | 
| +    int index = mode - DYNAMIC;
 | 
|      ASSERT(index >= 0 && index < 3);
 | 
|      return &maps_[index];
 | 
|    }
 | 
| @@ -135,11 +135,11 @@
 | 
|    // Declare a parameter in this scope.  When there are duplicated
 | 
|    // parameters the rightmost one 'wins'.  However, the implementation
 | 
|    // expects all parameters to be declared and from left to right.
 | 
| -  void DeclareParameter(Handle<String> name, Variable::Mode mode);
 | 
| +  void DeclareParameter(Handle<String> name, VariableMode mode);
 | 
|  
 | 
|    // Declare a local variable in this scope. If the variable has been
 | 
|    // declared before, the previously declared variable is returned.
 | 
| -  Variable* DeclareLocal(Handle<String> name, Variable::Mode mode);
 | 
| +  Variable* DeclareLocal(Handle<String> name, VariableMode mode);
 | 
|  
 | 
|    // Declare an implicit global variable in this scope which must be a
 | 
|    // global scope.  The variable was introduced (possibly from an inner
 | 
| @@ -406,7 +406,7 @@
 | 
|  
 | 
|    // Create a non-local variable with a given name.
 | 
|    // These variables are looked up dynamically at runtime.
 | 
| -  Variable* NonLocal(Handle<String> name, Variable::Mode mode);
 | 
| +  Variable* NonLocal(Handle<String> name, VariableMode mode);
 | 
|  
 | 
|    // Variable resolution.
 | 
|    Variable* LookupRecursive(Handle<String> name,
 | 
| 
 |