From 85673ff00cc8c0c21209080fb327c7deda69883a Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 5 May 2015 17:03:07 +0200 Subject: Remove unused old optimizer rule. --- Assembly.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Assembly.cpp') 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>> 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) -- cgit