aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-06 20:42:51 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-06 20:42:51 +0800
commit2c9ff4747d81a34125e976a65d6eca8cb5349c9d (patch)
treebd0962997535edd01c27d38957826cf2222332fe /ExpressionCompiler.cpp
parent76c9f13626495e173ddf3fde301c526097f08651 (diff)
downloaddexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.tar
dexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.tar.gz
dexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.tar.bz2
dexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.tar.lz
dexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.tar.xz
dexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.tar.zst
dexon-solidity-2c9ff4747d81a34125e976a65d6eca8cb5349c9d.zip
getRealType() introduced
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index fbf5cbcf..39593a6e 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -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;
}