Various optimizations for the DataFlowAnalyzer.

This commit is contained in:
Daniel Kirchner
2021-01-12 21:39:20 +01:00
parent e9dcd4f813
commit 625d402dbb
8 changed files with 89 additions and 112 deletions
+10
View File
@@ -168,3 +168,13 @@ inline YulString operator "" _yulstring(char const* _string, std::size_t _size)
}
}
namespace std
{
template<> struct hash<solidity::yul::YulString>
{
size_t operator()(solidity::yul::YulString const& x) const
{
return static_cast<size_t>(x.hash());
}
};
}