Index: src/variables.cc |
diff --git a/src/variables.cc b/src/variables.cc |
index 906b6ab7d58cad2d8b7cffe351c4eb41c8d8f655..301393849740b3242ec9fa7d4c5198d58cf9c34c 100644 |
--- a/src/variables.cc |
+++ b/src/variables.cc |
@@ -33,7 +33,7 @@ const char* Variable::Mode2String(VariableMode mode) { |
Variable::Variable(Scope* scope, |
- Handle<String> name, |
+ const AstRawString* name, |
VariableMode mode, |
bool is_valid_ref, |
Kind kind, |
@@ -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)); |
} |