diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-30 01:44:14 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-01-30 02:18:50 +0800 |
commit | 3701543ae8dd8ffbfd58e5648d45699468f10a55 (patch) | |
tree | 7b10e0bbbac6139c6cee92b9ebd040444507a311 /Compiler.cpp | |
parent | 04190798eba7a2996b28aee6d74b1c636f575a02 (diff) | |
download | dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.tar dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.tar.gz dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.tar.bz2 dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.tar.lz dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.tar.xz dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.tar.zst dexon-solidity-3701543ae8dd8ffbfd58e5648d45699468f10a55.zip |
FunctionType now returns const ref for Declaration
Diffstat (limited to 'Compiler.cpp')
-rw-r--r-- | Compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiler.cpp b/Compiler.cpp index 79672ca1..1fa31ce7 100644 --- a/Compiler.cpp +++ b/Compiler.cpp @@ -164,7 +164,7 @@ void Compiler::appendFunctionSelector(ContractDefinition const& _contract) m_context << callDataUnpackerEntryPoints.at(it.first); eth::AssemblyItem returnTag = m_context.pushNewTag(); appendCalldataUnpacker(functionType->getParameterTypes()); - m_context.appendJumpTo(m_context.getFunctionEntryLabel(*it.second->getDeclaration())); + m_context.appendJumpTo(m_context.getFunctionEntryLabel(it.second->getDeclaration())); m_context << returnTag; appendReturnValuePacker(functionType->getReturnParameterTypes()); } |