diff options
author | chriseth <chris@ethereum.org> | 2018-11-08 03:26:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 03:26:33 +0800 |
commit | deed8e21f6149a9712ebd77556cdb6e3b4b9c566 (patch) | |
tree | 300a55700b068709f36340563db1b43e5b8b1188 /libyul/optimiser/VarDeclPropagator.cpp | |
parent | 0a96f091ab63e8d77106e00590a442c59714eecb (diff) | |
parent | 674e17c2a895eff6729357d8c10db709ac368b79 (diff) | |
download | dexon-solidity-deed8e21f6149a9712ebd77556cdb6e3b4b9c566.tar.gz dexon-solidity-deed8e21f6149a9712ebd77556cdb6e3b4b9c566.tar.zst dexon-solidity-deed8e21f6149a9712ebd77556cdb6e3b4b9c566.zip |
Merge pull request #5334 from ethereum/stringPerformance
[Yul] String performance
Diffstat (limited to 'libyul/optimiser/VarDeclPropagator.cpp')
-rw-r--r-- | libyul/optimiser/VarDeclPropagator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libyul/optimiser/VarDeclPropagator.cpp b/libyul/optimiser/VarDeclPropagator.cpp index 39337b3d..537b7020 100644 --- a/libyul/optimiser/VarDeclPropagator.cpp +++ b/libyul/optimiser/VarDeclPropagator.cpp @@ -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); |