diff options
author | chriseth <c@ethdev.com> | 2015-05-05 23:03:07 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-05-06 18:53:33 +0800 |
commit | 85673ff00cc8c0c21209080fb327c7deda69883a (patch) | |
tree | 212e5db0e10ed41f10b38420030f2f8313f89ea3 /Assembly.cpp | |
parent | 9d7eb49f35f801b53960135b7c353fa64cea7439 (diff) | |
download | dexon-solidity-85673ff00cc8c0c21209080fb327c7deda69883a.tar.gz dexon-solidity-85673ff00cc8c0c21209080fb327c7deda69883a.tar.zst dexon-solidity-85673ff00cc8c0c21209080fb327c7deda69883a.zip |
Remove unused old optimizer rule.
Diffstat (limited to 'Assembly.cpp')
-rw-r--r-- | Assembly.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Assembly.cpp b/Assembly.cpp index 1c539116..aec06aef 100644 --- a/Assembly.cpp +++ b/Assembly.cpp @@ -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) |