Skip to content

Commit 86d3faa

Browse files
committed
Enhance documentation.
1 parent bd321b9 commit 86d3faa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libyul/optimiser/UnusedStoreBase.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ struct Dialect;
3636
/**
3737
* Base class for both UnusedAssignEliminator and UnusedStoreEliminator.
3838
*
39+
* The class tracks the state of abstract "stores" (assignments or mstore/sstore
40+
* statements) across the control-flow. It is the job of the derived class to create
41+
* the stores and track references, but the base class adjusts their "used state" at
42+
* control-flow splits and joins.
43+
*
3944
* Prerequisite: Disambiguator, ForLoopInitRewriter.
4045
*/
4146
class UnusedStoreBase: public ASTWalker

0 commit comments

Comments
 (0)