Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index bce8244ca7bb64ca97c566dae28404b56bf7ed22..d84c5bf0057b16779cfda42d2da65bcc23f745b4 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -540,7 +540,7 @@ Handle<ModuleInfo> ModuleInfo::Create( |
for (Interface::Iterator it = interface->iterator(); |
!it.done(); it.Advance(), ++i) { |
Variable* var = scope->LookupLocal(it.name()); |
- info->set_name(i, *(it.name()->string())); |
+ info->set_name(i, *it.name()); |
info->set_mode(i, var->mode()); |
ASSERT((var->mode() == MODULE) == (it.interface()->IsModule())); |
if (var->mode() == MODULE) { |