aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/LValue.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-05-02 22:50:15 +0800
committerGitHub <noreply@github.com>2018-05-02 22:50:15 +0800
commita856135bbf709d17732ce610e086c2300783b0a9 (patch)
treec52cc5f5c2b7f263b18ac78ef3cc3760155a4726 /libsolidity/codegen/LValue.cpp
parentde2c8fd684dd7c2a29460f64ffc891f1d6353cc8 (diff)
parent971941b3f6402665662d85eb9b31060f0ae230fb (diff)
downloaddexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.tar
dexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.tar.gz
dexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.tar.bz2
dexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.tar.lz
dexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.tar.xz
dexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.tar.zst
dexon-solidity-a856135bbf709d17732ce610e086c2300783b0a9.zip
Merge pull request #3797 from ethereum/shift-constantinople
Use native shift instructions on Constantinople
Diffstat (limited to 'libsolidity/codegen/LValue.cpp')
-rw-r--r--libsolidity/codegen/LValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/LValue.cpp b/libsolidity/codegen/LValue.cpp
index e19cf41e..77684683 100644
--- a/libsolidity/codegen/LValue.cpp
+++ b/libsolidity/codegen/LValue.cpp
@@ -267,7 +267,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc
else if (m_dataType->category() == Type::Category::FixedBytes)
{
solAssert(_sourceType.category() == Type::Category::FixedBytes, "source not fixed bytes");
- CompilerUtils(m_context).rightShiftNumberOnStack(256 - 8 * dynamic_cast<FixedBytesType const&>(*m_dataType).numBytes(), false);
+ CompilerUtils(m_context).rightShiftNumberOnStack(256 - 8 * dynamic_cast<FixedBytesType const&>(*m_dataType).numBytes());
}
else
{