aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/SSAValueTracker.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/optimiser/SSAValueTracker.h')
-rw-r--r--libyul/optimiser/SSAValueTracker.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/libyul/optimiser/SSAValueTracker.h b/libyul/optimiser/SSAValueTracker.h
index 8c39a98e..d1539c86 100644
--- a/libyul/optimiser/SSAValueTracker.h
+++ b/libyul/optimiser/SSAValueTracker.h
@@ -23,7 +23,6 @@
#include <libyul/optimiser/ASTWalker.h>
-#include <string>
#include <map>
#include <set>
@@ -45,13 +44,13 @@ public:
virtual void operator()(VariableDeclaration const& _varDecl) override;
virtual void operator()(Assignment const& _assignment) override;
- std::map<std::string, Expression const*> const& values() const { return m_values; }
- Expression const* value(std::string const& _name) const { return m_values.at(_name); }
+ std::map<YulString, Expression const*> const& values() const { return m_values; }
+ Expression const* value(YulString _name) const { return m_values.at(_name); }
private:
- void setValue(std::string const& _name, Expression const* _value);
+ void setValue(YulString _name, Expression const* _value);
- std::map<std::string, Expression const*> m_values;
+ std::map<YulString, Expression const*> m_values;
};
}