aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/ExpressionInliner.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-08 03:26:33 +0800
committerGitHub <noreply@github.com>2018-11-08 03:26:33 +0800
commitdeed8e21f6149a9712ebd77556cdb6e3b4b9c566 (patch)
tree300a55700b068709f36340563db1b43e5b8b1188 /libyul/optimiser/ExpressionInliner.h
parent0a96f091ab63e8d77106e00590a442c59714eecb (diff)
parent674e17c2a895eff6729357d8c10db709ac368b79 (diff)
downloaddexon-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/ExpressionInliner.h')
-rw-r--r--libyul/optimiser/ExpressionInliner.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libyul/optimiser/ExpressionInliner.h b/libyul/optimiser/ExpressionInliner.h
index 971a2ee0..d903664f 100644
--- a/libyul/optimiser/ExpressionInliner.h
+++ b/libyul/optimiser/ExpressionInliner.h
@@ -59,10 +59,10 @@ public:
virtual void visit(Expression& _expression) override;
private:
- std::map<std::string, FunctionDefinition const*> m_inlinableFunctions;
- std::map<std::string, std::string> m_varReplacements;
+ std::map<YulString, FunctionDefinition const*> m_inlinableFunctions;
+ std::map<YulString, YulString> m_varReplacements;
/// Set of functions we are currently visiting inside.
- std::set<std::string> m_currentFunctions;
+ std::set<YulString> m_currentFunctions;
Block& m_block;
};