mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Performance: Replace string by special single-copy YulString class.
This commit is contained in:
@@ -42,7 +42,7 @@ void SSAValueTracker::operator()(VariableDeclaration const& _varDecl)
|
||||
setValue(var.name, nullptr);
|
||||
}
|
||||
|
||||
void SSAValueTracker::setValue(string const& _name, Expression const* _value)
|
||||
void SSAValueTracker::setValue(YulString _name, Expression const* _value)
|
||||
{
|
||||
assertThrow(
|
||||
m_values.count(_name) == 0,
|
||||
|
||||
Reference in New Issue
Block a user