aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/AsmAnalysis.h
diff options
context:
space:
mode:
Diffstat (limited to 'libyul/AsmAnalysis.h')
-rw-r--r--libyul/AsmAnalysis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libyul/AsmAnalysis.h b/libyul/AsmAnalysis.h
index ec2b8868..21cc1142 100644
--- a/libyul/AsmAnalysis.h
+++ b/libyul/AsmAnalysis.h
@@ -59,7 +59,7 @@ public:
langutil::ErrorReporter& _errorReporter,
dev::solidity::EVMVersion _evmVersion,
boost::optional<langutil::Error::Type> _errorTypeForLoose,
- Dialect _dialect = Dialect::looseAssemblyForEVM(),
+ std::shared_ptr<Dialect> _dialect,
ExternalIdentifierAccess::Resolver const& _resolver = ExternalIdentifierAccess::Resolver()
):
m_resolver(_resolver),
@@ -115,7 +115,7 @@ private:
AsmAnalysisInfo& m_info;
langutil::ErrorReporter& m_errorReporter;
dev::solidity::EVMVersion m_evmVersion;
- Dialect m_dialect = Dialect::looseAssemblyForEVM();
+ std::shared_ptr<Dialect> m_dialect;
boost::optional<langutil::Error::Type> m_errorTypeForLoose;
};