aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2015-01-23 09:46:31 +0800
committerChristian <c@ethdev.com>2015-01-26 17:23:39 +0800
commitfd5899d03806d82e228da12f8cbe151f079ea41f (patch)
treef839426ef2d921062ac8206ced3089acd318496a /Compiler.h
parent7ded95c776717cf96e96dffb7425c86b47ad8b0e (diff)
downloaddexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.tar
dexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.tar.gz
dexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.tar.bz2
dexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.tar.lz
dexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.tar.xz
dexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.tar.zst
dexon-solidity-fd5899d03806d82e228da12f8cbe151f079ea41f.zip
Modifier overrides and callgraph analysis.
Diffstat (limited to 'Compiler.h')
-rw-r--r--Compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Compiler.h b/Compiler.h
index 83bee904..b6547646 100644
--- a/Compiler.h
+++ b/Compiler.h
@@ -53,7 +53,8 @@ private:
/// Recursively searches the call graph and returns all functions referenced inside _nodes.
/// _resolveOverride is called to resolve virtual function overrides.
std::set<FunctionDefinition const*> getFunctionsCalled(std::set<ASTNode const*> const& _nodes,
- std::function<FunctionDefinition const*(std::string const&)> const& _resolveOverride);
+ std::function<FunctionDefinition const*(std::string const&)> const& _resolveFunctionOverride,
+ std::function<ModifierDefinition const*(std::string const&)> const& _resolveModifierOverride);
void appendFunctionSelector(ContractDefinition const& _contract);
/// Creates code that unpacks the arguments for the given function, from memory if
/// @a _fromMemory is true, otherwise from call data. @returns the size of the data in bytes.