| Index: src/variables.h
|
| diff --git a/src/variables.h b/src/variables.h
|
| index 3d8e130d33f9d497cd027c52a0cd435e45c8f1df..df4cf984962705af5a84be5ca7d897605a8b23fa 100644
|
| --- a/src/variables.h
|
| +++ b/src/variables.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef V8_VARIABLES_H_
|
| #define V8_VARIABLES_H_
|
|
|
| +#include "parser-symbol-table.h"
|
| #include "zone.h"
|
| #include "interface.h"
|
|
|
| @@ -52,7 +53,7 @@ class Variable: public ZoneObject {
|
| };
|
|
|
| Variable(Scope* scope,
|
| - Handle<String> name,
|
| + ParserSymbolTable::Symbol* raw_name,
|
| VariableMode mode,
|
| bool is_valid_ref,
|
| Kind kind,
|
| @@ -70,7 +71,8 @@ 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_; }
|
| + Handle<String> name() const { return raw_name_->string(); }
|
| + ParserSymbolTable::Symbol* raw_name() const { return raw_name_; }
|
| VariableMode mode() const { return mode_; }
|
| bool has_forced_context_allocation() const {
|
| return force_context_allocation_;
|
| @@ -136,7 +138,7 @@ class Variable: public ZoneObject {
|
|
|
| private:
|
| Scope* scope_;
|
| - Handle<String> name_;
|
| + ParserSymbolTable::Symbol* raw_name_;
|
| VariableMode mode_;
|
| Kind kind_;
|
| Location location_;
|
|
|