From 120851315a5effd7f19e9e8b4f1e9c95571d01a9 Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Tue, 6 Oct 2020 22:19:45 +0200 Subject: [PATCH] Actually run FunctionHoister before the optimizer suite. --- libyul/optimiser/Suite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libyul/optimiser/Suite.cpp b/libyul/optimiser/Suite.cpp index 11249c23d..d3b546339 100644 --- a/libyul/optimiser/Suite.cpp +++ b/libyul/optimiser/Suite.cpp @@ -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);