mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] Chromosome: Add stepsToGenes() and genesToSteps()
This commit is contained in:
1 parent
72f8a753a9
commit
2a707e7685
6 files changed
+60
-34
No files matched your search
@@ -53,7 +53,7 @@ protected:
|
||||
Program optimisedProgram(Program _program, string _abbreviatedOptimisationSteps) const
|
||||
{
|
||||
Program result = move(_program);
|
||||
result.optimise(Chromosome(_abbreviatedOptimisationSteps).optimisationSteps());
|
||||
result.optimise(Chromosome::genesToSteps(_abbreviatedOptimisationSteps));
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user