aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-26 21:41:56 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-29 04:46:16 +0800
commitb95048768dbb64fc7d14eb93bdaad7c85b74e7c8 (patch)
tree160e79a2a688d9daf6a4240f964cf57272ba64ba /CompilerContext.h
parent3f5eb965840b57a3d8922c39d1e9f75266993db6 (diff)
downloaddexon-solidity-b95048768dbb64fc7d14eb93bdaad7c85b74e7c8.tar.gz
dexon-solidity-b95048768dbb64fc7d14eb93bdaad7c85b74e7c8.tar.zst
dexon-solidity-b95048768dbb64fc7d14eb93bdaad7c85b74e7c8.zip
Solidity EntryLabel now uses a generic declaration
- Instead of a FunctionDefinition
Diffstat (limited to 'CompilerContext.h')
-rw-r--r--CompilerContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerContext.h b/CompilerContext.h
index aa438cf0..42ac9ee8 100644
--- a/CompilerContext.h
+++ b/CompilerContext.h
@@ -44,7 +44,7 @@ public:
void startNewFunction() { m_localVariables.clear(); m_asm.setDeposit(0); }
void addVariable(VariableDeclaration const& _declaration, unsigned _offsetToCurrent = 0);
void addAndInitializeVariable(VariableDeclaration const& _declaration);
- void addFunction(FunctionDefinition const& _function);
+ void addFunction(Declaration const& _decl);
/// Adds the given modifier to the list by name if the name is not present already.
void addModifier(ModifierDefinition const& _modifier);