aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-30 01:44:14 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-30 02:18:50 +0800
commit3701543ae8dd8ffbfd58e5648d45699468f10a55 (patch)
tree7b10e0bbbac6139c6cee92b9ebd040444507a311 /Compiler.cpp
parent04190798eba7a2996b28aee6d74b1c636f575a02 (diff)
downloaddexon-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.cpp2
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());
}