mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use metrics in the full inliner.
This commit is contained in:
@@ -36,6 +36,9 @@ public:
|
||||
/// Returns a metric for the code size of an AST element.
|
||||
/// More specifically, it returns the number of AST nodes.
|
||||
static size_t codeSize(Expression const& _expression);
|
||||
/// Returns a metric for the code size of an AST element.
|
||||
/// More specifically, it returns the number of AST nodes.
|
||||
static size_t codeSize(Block const& _block);
|
||||
|
||||
private:
|
||||
virtual void visit(Statement const& _statement) override;
|
||||
|
||||
Reference in New Issue
Block a user