mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unused old optimizer rule.
This commit is contained in:
parent
9d7eb49f35
commit
85673ff00c
@ -304,9 +304,6 @@ Assembly& Assembly::optimise(bool _enable)
|
||||
{
|
||||
if (!_enable)
|
||||
return *this;
|
||||
std::vector<pair<AssemblyItems, function<AssemblyItems(AssemblyItemsConstRef)>>> rules;
|
||||
// jump to next instruction
|
||||
rules.push_back({ { PushTag, Instruction::JUMP, Tag }, [](AssemblyItemsConstRef m) -> AssemblyItems { if (m[0].data() == m[2].data()) return {m[2]}; else return m.toVector(); }});
|
||||
|
||||
unsigned total = 0;
|
||||
for (unsigned count = 1; count > 0; total += count)
|
||||
|
Loading…
Reference in New Issue
Block a user