diff options
author | Christian <c@ethdev.com> | 2015-01-23 09:46:31 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-01-26 17:23:39 +0800 |
commit | fd5899d03806d82e228da12f8cbe151f079ea41f (patch) | |
tree | f839426ef2d921062ac8206ced3089acd318496a /Compiler.h | |
parent | 7ded95c776717cf96e96dffb7425c86b47ad8b0e (diff) | |
download | dexon-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |