| Index: src/variables.h
|
| diff --git a/src/variables.h b/src/variables.h
|
| index f52a0b95186d136b3d315b3c56b50bc587479dc9..de209d871d56da5b77588b2eaeeec1ae5b484be5 100644
|
| --- a/src/variables.h
|
| +++ b/src/variables.h
|
| @@ -5,7 +5,6 @@
|
| #ifndef V8_VARIABLES_H_
|
| #define V8_VARIABLES_H_
|
|
|
| -#include "src/ast-value-factory.h"
|
| #include "src/zone.h"
|
| #include "src/interface.h"
|
|
|
| @@ -53,7 +52,7 @@ class Variable: public ZoneObject {
|
| };
|
|
|
| Variable(Scope* scope,
|
| - const AstString* name,
|
| + Handle<String> name,
|
| VariableMode mode,
|
| bool is_valid_ref,
|
| Kind kind,
|
| @@ -71,8 +70,7 @@ class Variable: public ZoneObject {
|
| // scope is only used to follow the context chain length.
|
| Scope* scope() const { return scope_; }
|
|
|
| - Handle<String> name() const { return name_->string(); }
|
| - const AstString* raw_name() const { return name_; }
|
| + Handle<String> name() const { return name_; }
|
| VariableMode mode() const { return mode_; }
|
| bool has_forced_context_allocation() const {
|
| return force_context_allocation_;
|
| @@ -138,7 +136,7 @@ class Variable: public ZoneObject {
|
|
|
| private:
|
| Scope* scope_;
|
| - const AstString* name_;
|
| + Handle<String> name_;
|
| VariableMode mode_;
|
| Kind kind_;
|
| Location location_;
|
|
|