aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-03-29 18:24:51 +0800
committerGitHub <noreply@github.com>2018-03-29 18:24:51 +0800
commit58c57e446b65b31d8c4573d506c879fe385a51d7 (patch)
tree16232775c6f6c4b9257f0f1fde8cbbf9054a152c /libsolidity/codegen
parentc2ae33f8067c2ed2a70a86f9e29cce06e23af28a (diff)
parent5c8a6aac698f6d084a22c6ec9f282b3f26ddb8bb (diff)
downloaddexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.tar
dexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.tar.gz
dexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.tar.bz2
dexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.tar.lz
dexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.tar.xz
dexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.tar.zst
dexon-solidity-58c57e446b65b31d8c4573d506c879fe385a51d7.zip
Merge pull request #3753 from ethereum/whoSupportsPackedEncoding
Prevent encoding of weird types and support packed encoding of extenal function types.
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/CompilerUtils.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerUtils.cpp b/libsolidity/codegen/CompilerUtils.cpp
index 68f0b3a1..676d5d4e 100644
--- a/libsolidity/codegen/CompilerUtils.cpp
+++ b/libsolidity/codegen/CompilerUtils.cpp
@@ -142,7 +142,6 @@ void CompilerUtils::storeInMemoryDynamic(Type const& _type, bool _padToWordBound
dynamic_cast<FunctionType const&>(_type).kind() == FunctionType::Kind::External
)
{
- solUnimplementedAssert(_padToWordBoundaries, "Non-padded store for function not implemented.");
combineExternalFunctionType(true);
m_context << Instruction::DUP2 << Instruction::MSTORE;
m_context << u256(_padToWordBoundaries ? 32 : 24) << Instruction::ADD;