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:
@@ -48,10 +48,10 @@ using namespace dev::yul;
|
||||
void OptimiserSuite::run(
|
||||
Block& _ast,
|
||||
solidity::assembly::AsmAnalysisInfo const& _analysisInfo,
|
||||
set<string> const& _externallyUsedIdentifiers
|
||||
set<YulString> const& _externallyUsedIdentifiers
|
||||
)
|
||||
{
|
||||
set<string> reservedIdentifiers = _externallyUsedIdentifiers;
|
||||
set<YulString> reservedIdentifiers = _externallyUsedIdentifiers;
|
||||
|
||||
Block ast = boost::get<Block>(Disambiguator(_analysisInfo, reservedIdentifiers)(_ast));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user