Merge pull request #12498 from ethereum/add-function-hoister-to-ese

Add FunctionHoister as a pre-requisite for equal store eliminator.
This commit is contained in:
Harikrishnan Mulackal 2022-01-06 20:10:37 +05:30 committed by GitHub
commit c3b4292d1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -239,6 +239,7 @@ YulOptimizerTestCommon::YulOptimizerTestCommon(
}},
{"equalStoreEliminator", [&]() {
disambiguate();
FunctionHoister::run(*m_context, *m_ast);
ForLoopInitRewriter::run(*m_context, *m_ast);
EqualStoreEliminator::run(*m_context, *m_ast);
}},