MCPcopy Create free account
hub / github.com/argotorg/solidity / mutationSequence

Method mutationSequence

tools/yulPhaser/Mutations.cpp:98–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98std::function<Mutation> phaser::mutationSequence(std::vector<std::function<Mutation>> _mutations)
99{
100 return [=](Chromosome const& _chromosome)
101 {
102 Chromosome mutatedChromosome = _chromosome;
103 for (size_t i = 0; i < _mutations.size(); ++i)
104 mutatedChromosome = _mutations[i](std::move(mutatedChromosome));
105
106 return mutatedChromosome;
107 };
108}
109
110namespace
111{

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected