aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/LValue.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-10-20 00:43:31 +0800
committerchriseth <c@ethdev.com>2016-11-16 21:37:18 +0800
commitff3553a34895c70c473a27c29464ebfc15375416 (patch)
tree458da0ce9c880e7bd6a996feea621d4e22bbd980 /libsolidity/codegen/LValue.cpp
parent679ea2820fd6bb76ddd294101ef548bab6cd6425 (diff)
downloaddexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.gz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.bz2
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.lz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.xz
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.tar.zst
dexon-solidity-ff3553a34895c70c473a27c29464ebfc15375416.zip
Change alignment.
Diffstat (limited to 'libsolidity/codegen/LValue.cpp')
-rw-r--r--libsolidity/codegen/LValue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/codegen/LValue.cpp b/libsolidity/codegen/LValue.cpp
index 98ab6d41..cb7cbbe3 100644
--- a/libsolidity/codegen/LValue.cpp
+++ b/libsolidity/codegen/LValue.cpp
@@ -194,7 +194,7 @@ void StorageItem::retrieveValue(SourceLocation const&, bool _remove) const
m_dataType->category() == Type::Category::Function &&
dynamic_cast<FunctionType const&>(*m_dataType).location() == FunctionType::Location::External
)
- CompilerUtils(m_context).splitExternalFunctionType();
+ CompilerUtils(m_context).splitExternalFunctionType(false);
else
{
solAssert(m_dataType->sizeOnStack() == 1, "");
@@ -241,7 +241,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc
dynamic_cast<FunctionType const&>(*m_dataType).location() == FunctionType::Location::External
)
// Combine the two-item function type into a single stack slot.
- utils.combineExternalFunctionType();
+ utils.combineExternalFunctionType(false);
else if (m_dataType->category() == Type::Category::FixedBytes)
m_context
<< (u256(0x1) << (256 - 8 * dynamic_cast<FixedBytesType const&>(*m_dataType).numBytes()))