| Index: src/variables.h
|
| diff --git a/src/variables.h b/src/variables.h
|
| index 384a8859545045ac502c5f80cc7a8229ddd81d75..72680514ca739c4dbe11ca0725127e4cb6c17e11 100644
|
| --- a/src/variables.h
|
| +++ b/src/variables.h
|
| @@ -67,6 +67,10 @@ class Variable: public ZoneObject {
|
| Handle<String> name() const { return name_->string(); }
|
| const AstRawString* raw_name() const { return name_; }
|
| VariableMode mode() const { return mode_; }
|
| + void set_mode(VariableMode mode) {
|
| + // Don't use this unless you have a very good reason
|
| + mode_ = mode;
|
| + }
|
| bool has_forced_context_allocation() const {
|
| return force_context_allocation_;
|
| }
|
|
|