diff options
author | chriseth <c@ethdev.com> | 2015-05-20 06:27:07 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-05-20 06:28:15 +0800 |
commit | 2be64c702609df67903fd89c42cf632d71aad6fd (patch) | |
tree | ceb573ff287d81f47d75acbf8481eab631aa8081 /StructuralGasEstimator.h | |
parent | 70d9eb3f1d1e16757c8f9b66669cd0f38d7bfef7 (diff) | |
download | dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.tar dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.tar.gz dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.tar.bz2 dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.tar.lz dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.tar.xz dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.tar.zst dexon-solidity-2be64c702609df67903fd89c42cf632d71aad6fd.zip |
Gas estimation taking known state into account.
Diffstat (limited to 'StructuralGasEstimator.h')
-rw-r--r-- | StructuralGasEstimator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/StructuralGasEstimator.h b/StructuralGasEstimator.h index df1ae509..ddc7c186 100644 --- a/StructuralGasEstimator.h +++ b/StructuralGasEstimator.h @@ -56,6 +56,10 @@ public: ASTGasConsumptionSelfAccumulated const& _gasCosts, std::vector<ASTNode const*> const& _roots ); + +private: + /// @returns the set of AST nodes which are the finest nodes at their location. + std::set<ASTNode const*> finestNodesAtLocation(std::vector<ASTNode const*> const& _roots); }; } |