diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-07 00:25:29 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-07 00:25:29 +0800 |
commit | f6586b81398d7670fc8a99b80e0d6342179e1907 (patch) | |
tree | e8a8a9ab357a365cfca69366c6481e8c6e135f1e /ExpressionCompiler.cpp | |
parent | 293344b4733e2de8f9159f3b73bbdd6e4a475195 (diff) | |
download | dexon-solidity-f6586b81398d7670fc8a99b80e0d6342179e1907.tar.gz dexon-solidity-f6586b81398d7670fc8a99b80e0d6342179e1907.tar.zst dexon-solidity-f6586b81398d7670fc8a99b80e0d6342179e1907.zip |
Small fixes for proper multitype/multiarg SHA3
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r-- | ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp index 4f091db4..0ce19ecd 100644 --- a/ExpressionCompiler.cpp +++ b/ExpressionCompiler.cpp @@ -851,7 +851,7 @@ unsigned ExpressionCompiler::appendArgumentsCopyToMemory(vector<ASTPointer<Expre // without type conversion for (unsigned i = 0; i < _arguments.size(); ++i) { - bool wantPadding = (_arguments[i]->getType()->getCategory() == Type::Category::STRING) ? false : true; + const bool wantPadding = false; _arguments[i]->accept(*this); length += moveTypeToMemory(*_arguments[i]->getType()->getRealType(), _arguments[i]->getLocation(), _memoryOffset + length, wantPadding); } |