| Index: src/ast/variables.h
|
| diff --git a/src/ast/variables.h b/src/ast/variables.h
|
| index b8bb07eab7afcba33148fb708c12790f7db5e510..7d54bc09c4d8d77d52f2b53ba8b398d6bd50c499 100644
|
| --- a/src/ast/variables.h
|
| +++ b/src/ast/variables.h
|
| @@ -119,21 +119,8 @@ class Variable: public ZoneObject {
|
| index_ = index;
|
| }
|
|
|
| - void SetFromEval() { is_from_eval_ = true; }
|
| -
|
| static int CompareIndex(Variable* const* v, Variable* const* w);
|
|
|
| - PropertyAttributes DeclarationPropertyAttributes() const {
|
| - int property_attributes = NONE;
|
| - if (IsImmutableVariableMode(mode_)) {
|
| - property_attributes |= READ_ONLY;
|
| - }
|
| - if (is_from_eval_) {
|
| - property_attributes |= EVAL_DECLARED;
|
| - }
|
| - return static_cast<PropertyAttributes>(property_attributes);
|
| - }
|
| -
|
| private:
|
| Scope* scope_;
|
| const AstRawString* name_;
|
| @@ -149,9 +136,6 @@ class Variable: public ZoneObject {
|
| // binding scope (exclusive).
|
| Variable* local_if_not_shadowed_;
|
|
|
| - // True if this variable is introduced by a sloppy eval
|
| - bool is_from_eval_;
|
| -
|
| // Usage info.
|
| bool force_context_allocation_; // set by variable resolver
|
| bool is_used_;
|
|
|