aboutsummaryrefslogtreecommitdiffstats
path: root/StructuralGasEstimator.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-05-20 06:27:07 +0800
committerchriseth <c@ethdev.com>2015-05-20 06:28:15 +0800
commit2be64c702609df67903fd89c42cf632d71aad6fd (patch)
treeceb573ff287d81f47d75acbf8481eab631aa8081 /StructuralGasEstimator.h
parent70d9eb3f1d1e16757c8f9b66669cd0f38d7bfef7 (diff)
downloaddexon-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.h4
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);
};
}