getRealType() introduced

This commit is contained in:
Lefteris Karapetsas
2015-02-06 13:42:51 +01:00
parent 76c9f13626
commit 2c9ff4747d
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -852,7 +852,7 @@ unsigned ExpressionCompiler::appendArgumentsCopyToMemory(vector<ASTPointer<Expre
for (unsigned i = 0; i < _arguments.size(); ++i)
{
_arguments[i]->accept(*this);
length += moveTypeToMemory(*_arguments[i]->getType(), _arguments[i]->getLocation(), _memoryOffset + length);
length += moveTypeToMemory(*_arguments[i]->getType()->getRealType(), _arguments[i]->getLocation(), _memoryOffset + length);
}
return length;
}