Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index 56a922d25da9395604e210f7847ef498043c6e66..d4a39e9bd543849e3948ce8bf11b38a9fde2e8fb 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -1386,9 +1386,8 @@ void Scope::AllocateModulesRecursively(Scope* host_scope) { |
if (already_resolved()) return; |
if (is_module_scope()) { |
ASSERT(interface_->IsFrozen()); |
- const char raw_name[] = ".module"; |
- Handle<String> name = isolate_->factory()->LookupSymbol( |
- Vector<const char>(raw_name, StrLength(raw_name))); |
+ Handle<String> name = isolate_->factory()->LookupOneByteSymbol( |
+ STATIC_ASCII_VECTOR(".module")); |
ASSERT(module_var_ == NULL); |
module_var_ = host_scope->NewInternal(name); |
++host_scope->num_modules_; |