mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[yul-phaser] Chromosome: Make randomOptimisationStep() public
- And add tests now that it's public.
This commit is contained in:
@@ -52,9 +52,10 @@ public:
|
||||
bool operator==(Chromosome const& _other) const { return m_optimisationSteps == _other.m_optimisationSteps; }
|
||||
bool operator!=(Chromosome const& _other) const { return !(*this == _other); }
|
||||
|
||||
static std::string const& randomOptimisationStep();
|
||||
|
||||
private:
|
||||
static std::vector<std::string> allStepNames();
|
||||
static std::string const& randomOptimisationStep();
|
||||
|
||||
std::vector<std::string> m_optimisationSteps;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user