mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Various optimizations for the DataFlowAnalyzer.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user