diff options
author | Christian Parpart <christian@parpart.family> | 2018-10-26 19:38:53 +0800 |
---|---|---|
committer | Christian Parpart <christian@parpart.family> | 2018-10-26 19:53:37 +0800 |
commit | 1264290d574858c0438dd72dfc91b17d0b2049e8 (patch) | |
tree | 3c5fe1c947a3ad655d87badac78a36d9f2785c19 /test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul | |
parent | 41375b5d79a77d392922f36f149d5bef269303e6 (diff) | |
download | dexon-solidity-1264290d574858c0438dd72dfc91b17d0b2049e8.tar.gz dexon-solidity-1264290d574858c0438dd72dfc91b17d0b2049e8.tar.zst dexon-solidity-1264290d574858c0438dd72dfc91b17d0b2049e8.zip |
[Yul] ExpressionJoiner: code cleanup
* ensure public API is only containing `run(Block&)`, all the rest is private API / implementation details
* adding some comments to class data members to quicker understand their meaning
* eliminate unnecessary `operator()(If&)` as it's not changing default behaviour of `ASTModifier`
* simplify readability of `visit(Expression&)`'s impl, also moving assert's into "isLatestStatementVarDeclOf", as this one is already ensuring exactly that.
* ctor impl's use of ReferenceCounter use shortened.
* renamed and improved `isLatestStatementVarDeclOf` to better match its meaning (especially since it's only used once)
Diffstat (limited to 'test/libyul/yulOptimizerTests/varDeclPropagator/simple1.yul')
0 files changed, 0 insertions, 0 deletions