Update Types.cpp

This commit is contained in:
Liana Husikyan 2015-04-01 15:42:30 +02:00
parent e3853ec6d1
commit eac47b1328

View File

@ -1105,13 +1105,13 @@ TypePointer FunctionType::externalType() const
for (auto type: m_parameterTypes) for (auto type: m_parameterTypes)
{ {
if(!type->externalType()) if (!type->externalType())
return TypePointer(); return TypePointer();
paramTypes.push_back(type->externalType()); paramTypes.push_back(type->externalType());
} }
for (auto type: m_returnParameterTypes) for (auto type: m_returnParameterTypes)
{ {
if(!type->externalType()) if (!type->externalType())
return TypePointer(); return TypePointer();
retParamTypes.push_back(type->externalType()); retParamTypes.push_back(type->externalType());
} }