Index: src/variables.cc |
diff --git a/src/variables.cc b/src/variables.cc |
index 3b90e0eeacd1d1ead869447932ee88fd0e23ce23..b958266a77e274e2c96c5cb95813d3bc12eb37a1 100644 |
--- a/src/variables.cc |
+++ b/src/variables.cc |
@@ -33,14 +33,14 @@ const char* Variable::Mode2String(VariableMode mode) { |
Variable::Variable(Scope* scope, |
- Handle<String> name, |
+ ParserSymbolTable::Symbol* raw_name, |
VariableMode mode, |
bool is_valid_ref, |
Kind kind, |
InitializationFlag initialization_flag, |
Interface* interface) |
: scope_(scope), |
- name_(name), |
+ raw_name_(raw_name), |
mode_(mode), |
kind_(kind), |
location_(UNALLOCATED), |
@@ -52,8 +52,6 @@ Variable::Variable(Scope* scope, |
is_used_(false), |
initialization_flag_(initialization_flag), |
interface_(interface) { |
- // Names must be canonicalized for fast equality checks. |
- ASSERT(name->IsInternalizedString()); |
// Var declared variables never need initialization. |
ASSERT(!(mode == VAR && initialization_flag == kNeedsInitialization)); |
} |