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:
@@ -31,8 +31,8 @@ using dev::solidity::assembly::TypedNameList;
|
||||
|
||||
void VarDeclPropagator::operator()(Block& _block)
|
||||
{
|
||||
map<string, TypedName> outerEmptyVarDecls;
|
||||
map<string, TypedName> outerLazyInitializedVarDecls;
|
||||
map<YulString, TypedName> outerEmptyVarDecls;
|
||||
map<YulString, TypedName> outerLazyInitializedVarDecls;
|
||||
swap(m_emptyVarDecls, outerEmptyVarDecls);
|
||||
swap(m_lazyInitializedVarDecls, outerLazyInitializedVarDecls);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user