| Index: arguments/src/variables.h
|
| diff --git a/arguments/src/variables.h b/arguments/src/variables.h
|
| index 5d27a02d5375ec70b84934e637b0a18a0e621f41..6cfc4a5d648d77e07a3dfff2a67b44ccd91a586e 100644
|
| --- a/arguments/src/variables.h
|
| +++ b/arguments/src/variables.h
|
| @@ -178,8 +178,8 @@ class Variable: public ZoneObject {
|
| local_if_not_shadowed_ = local;
|
| }
|
|
|
| - Expression* rewrite() const { return rewrite_; }
|
| - void set_rewrite(Expression* expr) { rewrite_ = expr; }
|
| + Slot* rewrite() const { return rewrite_; }
|
| + void set_rewrite(Slot* expr) { rewrite_ = expr; }
|
|
|
| StaticType* type() { return &type_; }
|
|
|
| @@ -195,8 +195,7 @@ class Variable: public ZoneObject {
|
| StaticType type_;
|
|
|
| // Code generation.
|
| - // rewrite_ is usually a Slot or a Property, but may be any expression.
|
| - Expression* rewrite_;
|
| + Slot* rewrite_;
|
|
|
| // Valid as a LHS? (const and this are not valid LHS, for example)
|
| bool is_valid_LHS_;
|
|
|