[YulOpt] declare SSA var when control flow joins

This commit is contained in:
mingchuan
2019-09-17 13:22:02 +02:00
committed by chriseth
parent 5859a69c44
commit 520a3ccfff
17 changed files with 323 additions and 54 deletions
+8
View File
@@ -98,6 +98,14 @@ inline std::set<T> operator+(std::set<T>&& _a, U&& _b)
ret += std::forward<U>(_b);
return ret;
}
/// Remove one set from another one.
template <class T>
inline std::set<T>& operator-=(std::set<T>& _a, std::set<T> const& _b)
{
for (auto const& x: _b)
_a.erase(x);
return _a;
}
namespace dev
{