aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/ASTCopier.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/ASTCopier.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/ASTCopier.h')
-rw-r--r--libyul/optimiser/ASTCopier.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libyul/optimiser/ASTCopier.h b/libyul/optimiser/ASTCopier.h
index 13369cef..b6aceee3 100644
--- a/libyul/optimiser/ASTCopier.h
+++ b/libyul/optimiser/ASTCopier.h
@@ -22,6 +22,8 @@
#include <libyul/ASTDataForward.h>
+#include <libyul/YulString.h>
+
#include <boost/variant.hpp>
#include <boost/optional.hpp>
@@ -107,7 +109,7 @@ protected:
virtual void leaveScope(Block const&) { }
virtual void enterFunction(FunctionDefinition const&) { }
virtual void leaveFunction(FunctionDefinition const&) { }
- virtual std::string translateIdentifier(std::string const& _name) { return _name; }
+ virtual YulString translateIdentifier(YulString _name) { return _name; }
};
template <typename T>