mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Always run the FunctionHoister as part of the optimizer Suite.
This commit is contained in:
parent
25d408058b
commit
5442a7ade2
@ -101,9 +101,9 @@ void OptimiserSuite::run(
|
||||
|
||||
OptimiserSuite suite(_dialect, reservedIdentifiers, Debug::None, ast);
|
||||
|
||||
// Some steps depend on properties ensured by FunctionHoister, FunctionGrouper and
|
||||
// Some steps depend on properties ensured by FunctionHoister, BlockFlattener, FunctionGrouper and
|
||||
// ForLoopInitRewriter. Run them first to be able to run arbitrary sequences safely.
|
||||
suite.runSequence("fgo", ast);
|
||||
suite.runSequence("hfgo", ast);
|
||||
|
||||
// Now the user-supplied part
|
||||
suite.runSequence(_optimisationSequence, ast);
|
||||
|
Loading…
Reference in New Issue
Block a user