compiler: Build import tables as needed for imported interfaces.

From-SVN: r187111
This commit is contained in:
Ian Lance Taylor 2012-05-03 17:42:02 +00:00
parent ecfd6cece6
commit f070c0498e
1 changed files with 3 additions and 0 deletions

View File

@ -669,6 +669,9 @@ Import::read_type()
// This type has not yet been imported.
ntype->clear_is_visible();
if (!type->is_undefined() && type->interface_type() != NULL)
this->gogo_->record_interface_type(type->interface_type());
type = ntype;
}
else if (no->is_type())