mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Actually run FunctionHoister before the optimizer suite.
This commit is contained in:
parent
bda2033dc4
commit
120851315a
@ -103,7 +103,7 @@ void OptimiserSuite::run(
|
||||
|
||||
// Some steps depend on properties ensured by FunctionHoister, 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