| Index: src/ast/variables.h
|
| diff --git a/src/ast/variables.h b/src/ast/variables.h
|
| index 4057d2b5f629b809a67302ec8e946ac6ec714b52..ca5d1cdd40362974148b48a08b904ab08772b807 100644
|
| --- a/src/ast/variables.h
|
| +++ b/src/ast/variables.h
|
| @@ -37,6 +37,10 @@ class Variable: public ZoneObject {
|
| // scope is only used to follow the context chain length.
|
| Scope* scope() const { return scope_; }
|
|
|
| + // This is for adjusting the scope of temporaries used when desugaring
|
| + // parameter initializers.
|
| + void set_scope(Scope* scope) { scope_ = scope; }
|
| +
|
| Handle<String> name() const { return name_->string(); }
|
| const AstRawString* raw_name() const { return name_; }
|
| VariableMode mode() const { return mode_; }
|
|
|